The ExtForm Plugin is used to capture or assign the version of an external form file.
Syntax:
PLUGIN ExtForm VarName|<options>
Options:
Option |
Value |
Description |
ACTION |
GET_VERSION_NUMBER SET_VERSION_NUMBER |
Specifies to capture or assign the version number of an external form file |
FILE |
value |
Specifies the external form file name |
VERSION |
value |
Specifies the version number for the SET_VERSION_NUMBER parameter |
Where:
VarName is the variable name to return "OK" or an error message
vRBTFormVer is a generated variable for the GET_VERSION_NUMBER parameter, which holds the version number as an INTEGER value
Notes:
If the external form file does not exist, an error is returned to VarName.
Examples:
PLUGIN ExtForm vResult|ACTION GET_VERSION_NUMBER|FILE RRBYW20.RFF
SHOW VAR
vRBTFormVer = 9 INTEGER
vResult = OK TEXT
PLUGIN ExtForm vResult|ACTION SET_VERSION_NUMBER|FILE TreeView_Sample.RFF|VERSION 10
SHOW VAR
vResult = OK TEXT