Difference between revisions of "Category:Variables"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Bnesmith
 
imported>Sepulcro
m (Updating short range to correct values)
Line 12: Line 12:


<pre>
<pre>
short      -2,147,483,648 to 2,147,483,647
short      -32,768 to 32,767
long      -2,147,483,648 to 2,147,483,647  
long      -2,147,483,648 to 2,147,483,647  
float      3.4E +/- 38 (7 digits)  
float      3.4E +/- 38 (7 digits)  

Revision as of 20:10, 23 March 2006

There 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      3.4E +/- 38 (7 digits) 
ref        an object reference

Pages in category "Variables"

The following 8 pages are in this category, out of 8 total.