![]() ![]() ![]() |
These are potential problems that are not necessarily fatal errors but most likely indicate an error. They require careful implementation.
Standard M has very specific whitespace requirements. Some text editors create extra whitespace that will be caught by XINDEX.
This is a M standard error. During execution, the first occurrence of the label is executed.
The first line of VistA routines is required to be a label that is the same as the routine name.
Checks that the global name is uppercase and not longer than eight characters.
XINDEX checks that the local variable name is uppercase and not longer than sixteen characters.
The only non-graphic characters permitted in VistA routines are whitespace.
Every line in a M routine must contain at least one character. The most common single character is the semi-colon (;), which denotes a comment.