Talk:Optional parameters: Difference between revisions

no edit summary
No edit summary
Line 32:
 
:: It's "simply" vararg, maybe there exists already a task showing that in particular. But not so simple is to cope with optional parameters. I've thought using something like "tags", as did the "new" (!) AmigaOS 2.x API (e.g. take a look at [http://www.liquido2.com/tutorial/close_window.html this code] to understand what I mean, or my "article" [http://www.capo-nord.org/soci/xmav/articolo.php?id=20080413 here] <nowiki>[</nowiki>which contains 3 strangeness I note now! well, consider it C-like pseudolanguage, not real C<nowiki>]</nowiki>)... but this is "''cheating''", it's not a facility of the language --[[User:ShinTakezou|ShinTakezou]] 13:59, 24 May 2009 (UTC)
 
::I agree that's more in the scope of [[varargs]]. I'm talking about specific (that is, not just a collection of all following arguments) optional parameters having not-otherwise-reproducible behavior when omitted. --[[User:Kevin Reid|Kevin Reid]] 14:01, 24 May 2009 (UTC)