Purpose
Returns the requested property of a script dialog that is being displayed.
Syntax
ret = ScriptContext(property, [, variable])
property is is the requested property of the script dialog.
Property | Value | Return Type | Remarks |
---|---|---|---|
SCRIPT_CONTEXT_WINDOWID | 1 | Integer |
Used when prompting for a window variable or a layer variable. This returns the current window id being evaluated. To choose a map window
|
SCRIPT_CONTEXT_TABLEALIAS | 2 | String |
Used when prompting for a table or column variable. This returns the current table alias being evaluated. To choose a point table
|
SCRIPT_CONTEXT_COLUMNALIAS | 3 | String |
Used when prompting for a column variable. This returns the current column alias being evaluated. To choose a character column from usa table:
|
SCRIPT_CONTEXT_LAYER_NUM | 4 | Integer | Used when prompting for a Layer variable. This returns the current layer number being evaluated. |
Return Value
Any standard variable type like String, Integer, LargeInt, Float, Logical, Date, DateTime, or Time.
Description
Returns the requested property of a script dialog that is being displayed.