![]() ![]() ![]() |
These issues are not necessarily errors but still require attention, because they could indicate potential problems.
This is another whitespace issue. In standard M, a routine is terminated by a single QUIT command and a function returns a value with a QUIT followed by a single space and then an expression that evaluates to the value to be returned. When you encounter a QUIT followed by a space, it is most likely extra whitespace at the end of a line.
In M, READ is normally a line-oriented command. However, there are two syntactic variations on the READ command where its use is inappropriate.
The following example reads a single character into X.
READ *X |
The following example reads 100 contiguous characters (bytes on most M systems) into X. Use of so-called star and pound READs was once disallowed, but is now permitted so long as applications follow other relevant standards.
READ X#100 |