Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To declare a method, test, add ti it to a gmSL block:

Code Block
<gmSL namespace="gmSL" class="gm"><[CDATA[[
void test(string arg1)
{
        System.LogMessage("Here i am: " + arg1);
}
]]></gmsl>

To run a method, invoke it with a RunCommand statement.  For , using a gm. prefix. For example:

Code Block

<RunCommand id="gm.test" Prams="Mark" />