Added February 2022
The auto-defined macro ABC_SCALE is set to the current SCALE value, zero if no SCALE statement yet encountered. In environments that depend on SCALE, this allows you to insert conditionals into ++include files to make sure that SCALE hasn't accidentally been omitted from the main program, e.g.:
++ifdef ABC_SCALE ! does this compiler version support ABC_SCALE?
++if ABC_SCALE <> 2 ! if so, is SCALE set to 2?
++error You forgot to set SCALE 2!!!
++endif
++endif
History
2021 October, A-Shell 6.5.1708, compiler edit 959: Macro added to A-Shell