Difference between revisions of "Declaring variables"

Jump to navigation Jump to search
141 bytes added ,  02:42, 16 August 2006
no edit summary
imported>Khadir
(Correcting the "float" range to the usual IEEE 754 single-precision range)
imported>JOG
Line 1: Line 1:
;short:-32,768 to 32,767
;[[Variable_types:_shortint|short]]:32,768 to 32,767
;long:-2,147,483,648 to 2,147,483,647  
;[[Variable_types:_longint|long]]:2,147,483,648 to 2,147,483,647  
;float:-3.402823×10<sup>38</sup> to -1.175494×10<sup>−38</sup>, 0 and 1.175494×10<sup>−38</sup> to 3.402823×10<sup>38</sup> (precision of 7 digits)
;[[Variable_types:_floating_point|float]]:-3.402823×10<sup>38</sup> to -1.175494×10<sup>−38</sup>, 0 and 1.175494×10<sup>−38</sup> to 3.402823×10<sup>38</sup> (precision of 7 digits)
;ref:A 32-bit FormID
;[[Variable types: reference variables | ref]]:A pointer to a reference


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:
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:
Anonymous user

Navigation menu