Variable

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Revision as of 14:12, 4 May 2017 by ady624 (talk | contribs) (ady624 moved page Variables to Variable without leaving a redirect)
Jump to: navigation, search
Share on FacebookShare on TwitterShare on Google+Share on LinkedInShare on DiggShare on deliciousShare on redditShare on StumbleUpon

[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 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 and always have a $ preceeding them. 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.