[haXe] Equivalent modifier to const / final / read-only?
Nicolas Cannasse
ncannasse at motion-twin.com
Mon Apr 23 23:17:31 CEST 2007
> Is there any modifier I can use for a variable to declare it as
> read-only for all uses?
There is no "const" variables.
In the future, they will be "inline" variables and functions that will
act like a const : the variable value will be used instead of the
variable access, and the variable will not be modifiable anywhere.
Nicolas
More information about the Haxe
mailing list