Skip to content

Variable_global_set

hugh greene edited this page Jun 20, 2022 · 1 revision

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

Clone this wiki locally