We have been shortlisted! We are delighted to be nominated for 5 Tech for Good awards for our work with South African charity Shout It Now. Read more here.
Create Global Data Item
This command creates a global data item.
Name: Text string of name of new Global Data Item Type: Type of global data item (Number, Text, Sheet, etc plus object variable types) Reset Value: The value that the Global Data Item takes on Reset
Can be called at any time. Useful for creating a new variable when a component is dropped on the screen, or to create a temporary sheet to attach to a Work Item to hold information about that Work Item.
This will create a Number variable called “var_index_number” and set a reset value of 1 to the variable.
Create Global Data Item "var_index_number" , Number , 1
You can also find a simulation example on this here: Create_Erase_Global_Data_Item.s8