From: Blub Date: Fri, 2 Apr 2010 11:33:00 +0000 (+0000) Subject: (Commit created by redmine exporter script from page "NewQC" version 19) X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b7632ddc8ea736a674e06c955cf0ef0cab972c12;p=xonotic%2Fxonotic.wiki.git (Commit created by redmine exporter script from page "NewQC" version 19) --- diff --git a/NewQC.textile b/NewQC.textile index a5a33d4..f5ced9a 100644 --- a/NewQC.textile +++ b/NewQC.textile @@ -60,7 +60,9 @@ float myfunc() final } -h2. Variadic parameters +h2. Variadic parameters (do not use yet) + +(This might get changed to be more flexible so do not rely on this syntax...) Another "enhancement" is the possibility to have functions with variadic parameter lists. However, the only way to sanely access them (until pointers are allowed) is via a recursive way. Here's an example that assumes float parameters and prints them one after the other: