Difference between revisions of "Variable"
(Created page with "[some info on variables] ==Variable types== ===Local Variables=== Local variables are variables that are owned by an individual piston. They are unique to each piston and are...") |
(→Variable Data Types) |
||
Line 12: | Line 12: | ||
==Variable Data Types== | ==Variable Data Types== | ||
− | webCoRE supports a variety of data types, please review the [[ | + | webCoRE supports a variety of data types, please review the [[Variable Data Types|variable data types]]. |
Revision as of 01:28, 26 March 2017
[some info on variables]
Contents
Variable types
Local Variables
Local variables are variables that are owned by an individual piston. They are unique to each piston and are not shared among pistons. Multiple pistons can define local variables with the same name, they do not overlap.
Global Variables
Global variables are variables that are common to all pistons. They always start with the @ symbol and are available to any and all pistons. Any change made to a global variable by any piston is immediately available to all other pistons within the same webCoRE instance.
System Variables
System variables are local read-only variables that provide information about the environment. They cannot be written to and their values are not necessarily constant (the same) during the whole piston run
Variable Data Types
webCoRE supports a variety of data types, please review the variable data types.