Reserved keywords
The following words are reserved and cannot be used as identifiers:
and by case do else end export extern for function global if import in include inline loop nil not object of on or otherwise repeat return task tell then to until when while
Comments
To write comments, use the character #. Any text from this character to the end of the line is ignored. Each line to be commented must be preceded by the # character, i.e. C-like multi-line comments are not allowed.
Macro comments
# Now plot the field plot (Z500) # using default contours
Loops, tests & functions
Please check this handout: macrotut_syntax.pdf
Macro tutorial
To learn more about the Macro syntax, please follow the Metview Tutorials.