gmplRunCommandStatement

RunCommand Statement Summary

RunCommand is a terminal, command statement is occurs only in command scripts. The statement executes one of the gmSL textcode methods, a user overridden version of one of those methods, or a textcode method stored in the current storage area or in the GlobalSettings storage area.

The attributes of the RunCommand statement are as follows:

Attribute Description
Id This attribute is the optionally qualified name of the method to be executed. The namespace is gmSL. This is followed by the class name and finally the method name. The current storage area is searched first, then the GlobalSettings area if it exists, and finally the language storage area.
Prams This attribute is a semicolon delimited list of the argument values to be passed to the method.

The RunCommand statement, as are all gmPL statements, is first preprocessed to convert any embedded gmSL expressions into the final form of the statement. This fact often simplifies specifying the Prams attribute in a generalized way.
Table of Contents