Page tree
Skip to end of metadata
Go to start of metadata



Introduced in

Version:3.7

Description

Description:Imports a local variable from the parent scope (makes its content available), if any implicit inheritance had been disabled using the privateAll command.

Syntax

Syntax:import variable
Parameters:
  • variable: String - Name of variable to import.
Return Value:Nothing

Alternative Syntax

Syntax:import variables
Parameters:
  • variables: Array of String - Names of variables to import.
Return Value:Nothing

Examples

Examples:
import "_var1"
import ["_var1", "_var2", "_var3"]

Additional Information

See also: privateAll, private
Multiplayer: 
Problems: 

Notes