Variable_global_set - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Description
Sets the value of the global variable with the given name.
Parameters
Parameter | Data Type | Description |
---|---|---|
name | string | name of the global variable |
value | variant | value to give the global variable |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting the value of a global variable
variable_global_set("cat", 3);
NOTOC