1.2.1 Comments

MxScript supports line comments and block comments.

Line comments
These start with ‘//’ and end at the end of the current line.
Block comments
These start with ‘/*’ and end with ‘*/’.
As with C, it is not possible to nest block comments.
In the code ‘/* a /* b */ c */ …’, the part after c */ is not in a comment and probably leads to a syntax error.

Note

Comments cannot occur in string constants.
Non-ConfidentialPDF file icon PDF versionARM DUI0840C
Copyright © 2014, 2015 ARM. All rights reserved.