OpenDream
OpenDream copied to clipboard
Const vars can be reassigned or overridden
Constant vars can be reassigned by code or overridden in object definitions.
var/const/C = 1
world.log << C
C = 2
world.log << C
Note that in const-only contexts (such as switch cases) the initial value will still be used because the compiler uses the initial value at compile-time.
oop