"Any" type usage
Hey
Just a quick question out of curiosity. Are there any plans for adding the possibility to store other stuff than handles in the "any" type? In my case, it'd be sweet to be able to store a struct, but maybe that's far away?
/Anders
I intend to make the any type be able to store any type, including primitives.
In time I will also make it possible to use the any type in expressions such that it will be implicitly converted to the right types. This will make this type much more like variants in VB or the typeless variables in javascript.<br><br>You can store the handle of a struct in the any type already. Isn't that enough for now?<br><br>Regards,<br>Andreas
In time I will also make it possible to use the any type in expressions such that it will be implicitly converted to the right types. This will make this type much more like variants in VB or the typeless variables in javascript.<br><br>You can store the handle of a struct in the any type already. Isn't that enough for now?<br><br>Regards,<br>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
Popular Topics
Advertisement