1.6

Table Of Contents
getVariable()
Method that retrieves the value currently stored in a variable.
getVariable(varName)
Retrieves the value currently stored in variable varName. If the variable does not exist, the
value null is returned. It is considered good practice (almost mandatory, even!) to always check
whether a variable is defined before attempting to access its value.
varName
String name of the variable from which the value is to be retrieved.
Example
moveTo()
Moves the position of the pointer in the source data file. This is a method of the steps object
(see "steps Object" on page234).
moveTo(scope, verticalPosition)
Moves the current position in a text file to verticalPosition where the meaning of
verticalPosition changes according to the value specified for scope.
scope
Number that may be set to:
l 0 or steps.MOVELINES
l 1 or steps.MOVEDELIMITERS
l 2: next line with content
verticalPosition
Number. What it represents depends on the value specified for scope.
With the scope set to 0 or steps.MOVELINES, verticalPosition represents the index of the line
to move to from the top of the record.
Page 256