|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| mio.code.compile(targetArray, CodeLine) |
Parameters
| ARRAY | targetArray | Name of an array where the compiled line is to be stored.
| | INT | CodeLine | Line of code to be compiled. |
Return value
| 1 if success, Error code if failed. |
Description
This function converts a MioScript code line to a compiled version that can be interpreted by MioEngine.
The return can be one of the following values:
1: Success
2: Cannot store code line: The specified array was not found.
100: Unterminated String
101: Wrong number of parenthesis
200: Syntax Error
201: Syntax Error in a condition. Check for a misplaced apostrophe, extra parameter or missing comma
202: Incorrect If construction |
|
|
|