AppCtrlScript

MAY Computer

Help

Available Structures

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Below is a list of implemented structures:

Available Structures

Structure

Description

HEADER
  {<Variable>=<Value>}
END[ HEADER]

Header block with variable-value pairs that are kept when saving the script.

SUB <Name>
  <Commands>
END[ SUB]

Subroutine definition. To call a subroutine simply use the subroutine name as command or use the CALL command.

###INCLUDE <FileName> Include other scriptfiles into the current script.
IF <Condition> THEN <Command>[ ELSE <Command>] Conditional processing of commands (provided by wmGlob1.dll).

IF <Condition> THEN
  {<Command>}
[ELSE
  {<Command>}]
END IF|ENDIF

Multiline style of conditional processing.
WHILE <Condition> DO <Command> While loop statement. For <Condition> the same applies as for IF.
WHILE <Condition>
  {<Command>}
WEND|LOOP
Multiline style of while loop processing. For <Condition> the same applies as for IF.
LABEL <Name>[:] Define a bookmark where you can jump to with the GOTO command. A label name may not contain spaces.
<ExeFileName> When specifying a filename of an executable as it is, it is launched asynchroneously.
ON ERROR Error trapping options.