Difference between revisions of "Category:Variables"
Jump to navigation
Jump to search
imported>JOG |
imported>JOG |
||
Line 5: | Line 5: | ||
[[Declaring_variables|long]] varNameLong | [[Declaring_variables|long]] varNameLong | ||
[[ | [[Floating_point_variables|float]] varNameFloat | ||
[[Reference_variables|ref]] varNameRef | [[Reference_variables|ref]] varNameRef |
Revision as of 08:11, 24 March 2006
There are a few types of variables. Although you can declare a variable to be Short or Long, both produce the same result.
short varNameShort
long varNameLong
float varNameFloat
ref varNameRef
Sizes of numbers that can be stored in each type:
short -32,768 to 32,767 long -2,147,483,648 to 2,147,483,647 float 1.18E-38 to 3.40E38 (precision = 7 digits) ref an object reference
Pages in category "Variables"
The following 8 pages are in this category, out of 8 total.