Owning Class: membership
Requires: MathScript RT Module
c = is_global(a)
Legacy Name: isglobal
Determines whether a variable is a global variable.
| Name | Description |
|---|---|
| a | Specifies a variable. a is a string. |
| Name | Description |
|---|---|
| c | Returns 1 if a is a global variable. Otherwise, this function returns 0. c is a Boolean. |
If you call this function from a MathScript Node, LabVIEW operates with slower run-time performance for the MathScript Node. To optimize the performance of the MathScript Node, remove this function from scripts.
global A
A = 23
C = is_global('A')