The CSL language is very close to C. However there are differences; the most significant are:
- The one and only variable type is var which (likely to REXX
variables) my hold any number or string. No pointers, struct's and
typedef's. (struct functionality is however possible by arrays)
- No goto's.
- Exception handling by try/catch/throw, fully interoperable with
C++ ZException's. (Throw an exception in C++ and catch
it in CSL or vice versa.
- Dynamic array allocation and reallocation.
The differences are more detailed explained in the following sections.