Advertising banner:

History
 
 LFS8
Home • Help • Administration • FirstClass Scripting • LFS8
 
ASSIGN



Function
Defines where you want to use a declared local variable created with the VAR command.



Syntax
For assigning a variable to a local form:
ASSIGN VarName FIELD TargetField FieldType
For assigning a variable to a specified form:
ASSIGN VarName FORMFIELD path TargetField FieldType
Parameters


VarName
A declared variable name. Do not use command names or keywords.
FIELD
Assign variable to the message form that accompanies the script. Also applies to application Rules that executes a batch admin script.
FORMFIELD path
A field on the specified form. Includes the path to the specified form.
TargetField
The field ID (over 1000).
FieldType
0
String
6
Checkbox
7
Short number
14
Long number




Examples
Documented with VAR.



Related commands
VAR