Skip to content

Compatibility modes for scripts

MiranDMC edited this page Nov 12, 2023 · 1 revision

CLEO provides way to run selected scripts in legacy compatibility modes. Depending on selected mode some CLEO features may be disabled or behave in way to mimic older CLEO environment. Compatibility for script can be enabled by changing script's file type extension. CLEO5 supports two legacy modes: *.cs3 - CLEO3 compatibility mode *.cs4 - CLEO4 compatibility mode

CLEO4 compatibility mode

Script filename ends with *.cs4 Behaviour:

  • Disabled reporting some non-critical script errors warning messages. > CLEO5 introduced additional script correctness checks, like: argument types provided to opcodes, argument count declared and provided to 0AB1, 0AB2, 0AA5, etc.

CLEO3 compatibility mode

Script filename ends with *.cs4 Behaviour: *

Despite of selected mode, CLEO5