This function returns the flag of the global variable.
|
i32 gv_flags_byname (string var)
|
|
Variable name.
Can contain letters, numbers, spaces, and special characters. Not case sensitive
|
|
Returns:
|
|
|
|
Se = 0
|
Variable does not exist
|
0
|
0x00000001
|
Persistent variable (R/W)
|
1
|
0x00000002
|
Overwrites the value of persistent GV when creating GV from instruction (R/W)
|
2
|
0x00000004
|
Disables creation of the configuration file (if not persistent) (R/W)
|
3
|
0x00000008
|
Disables data in the configuration file (if not persistent) (R/W)
|
4
|
0x00000010
|
Enables write access only to the first interface linked with correct password (R/W)
|
16
|
0x00010000
|
GV correctly linked to retentive component
|
17
|
0x00020000
|
GV to be linked to the retentive component
|
18
|
0x00040000
|
Write access
|
24
|
0x01000000
|
Internal use - name
|
25
|
0x02000000
|
Internal use - data
|
26
|
0x04000000
|
Internal use - dataType
|
27
|
0x08000000
|
Internal use - wrtPsw
|
|
|
Rule, Task
|
|
|