|
Scripts have a syntax similar to C; however, the software was designed for parsing binary files and is not meant to be fully ANSI compliant. This section lists most of the important differences between ANSI C and 010 Editor when writing code:
- Pointers - No pointers are currently allowed using '*'. References using '&' are only allowed when passing arguments to custom functions (see Functions).
- Preprocessor - Most preprocessor directives are supported including #define, #ifdef, #ifndef, etc. However, the #if directive is not currently supported and defining macros using the #define directive is not currently supported.
- Multi-dimensional Arrays - Multi-dimensional arrays are currently not supported. See Template Limitations for an alternate way of declaring multi-dimensional arrays in Templates.
- Control statements - The goto statement is not supported.
|