AppCtrlScript

MAY Computer

Help

HEADER

Applies to  

AppCtrlScript (Module: wmACScr1.dll)

Group  

Structures

See also  

DEFAULTHEADER, SETHEADER, SAVESCRIPT

Definition of a  header block that can carry a set of variable-value pairs along with the script. They can be seen as current property values of the script.

The purpose of a header block is to save information of the current state or current data for later re-processing of the same script that will decide what to perform depending on the current header variables.

Important note: Only one header block definition allowed in a script and should occur at the beginning of the script.

Syntax

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

Part

Description

<Variable>

Variable name.

<Value>

Value.

Sample

 HEADER
Status= First
END HEADER
SUB Main
SETHEADER Status, "Second"
SAVESCRIPT "F:\Post\MyScript.aps"
END SUB