APPENDIX A

EasyLanguage Syntax Errors

Syntax errors are produced when verifying an EasyLanguage statement that is not understood or expected by the PowerEditor. Following is a list of all syntax errors and their description, listed by error number. Each entry includes the description of the error, probable causes of the error, and examples of the correct and incorrect syntax for the offending statement or instruction (where applicable).

61 “Word not recognized by EasyLanguage.”

This error is displayed whenever a word is not recognized by the PowerEditor. For example, if it is not an EasyLanguage reserved word; EasyLanguage function, or a declared user defined variable, array, or input name.

62 “Invalid number.”

The PowerEditor displays this message whenever it finds a typographical error in a number. For example, if a letter is inserted by mistake in a number, the number will be highlighted and this error will be displayed. An example of an invalid number is 100.b4.

63 “Number out of range.”

The PowerEditor displays this error whenever it finds a number that is outside the supported range (a number which is too big). The following statement will produce this error:

Valuel = 99999999999999999999;

65 “Invalid variable name.”

The PowerEditor displays this error whenever it finds an invalid name in a variable declaration statement. Variable names cannot start with a number nor any special character other than the underline (_).

For example, this error will be generated when ...

Get Building Winning Trading Systems with TradeStation™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.