$OPTIMIZE_RAM - Define RAM optimization mode (obsolete)

Language reference ›› Directives ››
Parent Previous Next

optimize-ram-directive = $OPTIMIZE_RAM directive-toggle .


Define RAM memory optimization behavior.


By default the RAM allocation for variables is managed so that some variables may occupy the same RAM location, if there's no conflict, Eg: parameters and local variables in procedures and functions.

In case of trouble it may be necessary to turn off this optimization.


This directive overrides the default option defined in the Project's Options.


Default is ON.


{$OPTIMIZE_RAM OFF}