Please enable JavaScript to view this site.

A-Shell Development History

Compiler edit 959: New 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