Difference between revisions of "Declaring variables"
no edit summary
imported>Khadir (Correcting the "float" range to the usual IEEE 754 single-precision range) |
imported>JOG |
||
Line 1: | Line 1: | ||
;short: | ;[[Variable_types:_shortint|short]]:32,768 to 32,767 | ||
;long: | ;[[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 | ;[[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: |