To declare a method,
test, add it to a gmSL block:
To run a method, invoke it with a
RunCommand statement, using a
gm. prefix. For example:
Another example – pre-inspection of a file:
Here is an example that edits files: adding a comment to lines in form files ending with ':'