FutureBasic Logo

<<    Index    >> FutureBasic

override   statement

override _constantFoo = newValue
override _constantBar$ = "new value"

The override statement may be used to change the value of a constant or string constant.

When you override a constant, any code compiled after the override is affected. Constants are not variables. They are only examined at compile time. It is therefore not possible to override a constant that is used in the runtime since FutureBasic has already compiled the entire runtime before your override is ever encountered.