default values for functions ?

Started by
0 comments, last by WitchLord 18 years, 1 month ago
andreas, i would like to know if you have any plans on adding default parameter values to function, something like what c and c++ let you do... would a very good addition something like: engine->RegisterObjectMethod("MyObject", "void doStuff(int=1,float=0.0)", ... to let you use functions in script like o.doStuff(); o.doStuff(100); or o.doStuff(100,2.0); what u think ? greetz, lucio
Advertisement
Some day I'm sure I'll add this feature. But there is so much else that must be done first that it will be a long time before I get to that.

Regards,
Andreas

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement