Skip to content

Variable_local_get

hpgDesigns edited this page Aug 8, 2021 · 1 revision

Description

Gets the value of the local variable and returns the result.

Parameters

Parameter Data Type Description
name string name of the local variable

Return Values

variant: Returns the value of the local variable.

Example Call

// demonstrates obtaining the value of cat
var val;
val = variable_local_get("cat");

NOTOC

This is number 1

Clone this wiki locally