Difference between revisions of "Declaring variables"
Jump to navigation
Jump to search
imported>JOG |
imported>JOG |
||
Line 5: | Line 5: | ||
</pre> | </pre> | ||
You can declare three types of variables through scripts and as global variables. Variable names are not case sensitive. Declare with type and name: | You can declare three types of variables through scripts and as [[Globals|global]] variables. Variable names are not case sensitive. Declare with type and name: | ||
<pre> | <pre> | ||
short myShortVariable | short myShortVariable |
Revision as of 06:50, 24 March 2006
short -32,768 to 32,767 long -2,147,483,648 to 2,147,483,647 float 3.4E +/- 38 (7 digits)
You can declare three types of variables through scripts and as global variables. Variable names are not case sensitive. Declare with type and name:
short myShortVariable long myLongVariable float myFloatVariable
Scripts can also declare and use reference variables:
ref myRefVariable