StringTable
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
TABLE |
STRING |
|
|
|
Name of the Sting Table resource. Must be a constant. |
COL |
STRING |
|
|
|
Name of the column in the table. Must be a constant. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
BOOL |
FALSE, TRUE |
|
TRUE if OK. |
Remarks
- This function selects
a column of a valid String Table resource to become the active string table.
- The LoadString function always refers to the active string table.
- Arguments must:
- be constant string expressions.
- fit to a declared string table and a valid column name within this table.
- If there is only one
string table with only one column defined in the project, you do not need to
call this function.
- It is the default string table.
FBD Language Example
FFLD Language Example
IL Language Example
Op1: LD
'MyTable'
StringTable 'First Column'
ST
OK
ST Language Example
OK := StringTable ('MyTable', 'FirstColumn");
See Also