Difference between revisions of "Category:Variables"

522 bytes added ,  14:45, 28 May 2008
ok, now to figure out how to get it on the bottom...
imported>DragoonWraith
(argh)
imported>DragoonWraith
(ok, now to figure out how to get it on the bottom...)
Line 1: Line 1:
{{Update}}
<div id="esstyle">
<span class="header" style="Display: Block; Margin: -5px -5px 0px -5px;">{{#ifeq: {{NAMESPACE}} | Category | Category | Article }} Needs to be Updated</span>


This {{#ifeq: {{NAMESPACE}} | Category | category | article }} has been marked by editors as one needing attention. Please see the [[:{{NAMESPACE}} talk:{{PAGENAME}}|Talk page]] for details. If you can update the {{#ifeq: {{NAMESPACE}} | Category | category | article }}, please do so.
</div>
There are a few types of variables. Most store numbers, but the special [[Reference Variables]] stores something in the game world so you can run functions on it later.
There are a few types of variables. Most store numbers, but the special [[Reference Variables]] stores something in the game world so you can run functions on it later.


Line 19: Line 22:
Other than that, however, generally [[Long Integer|longs]] and [[Short Integer|shorts]] will be rounded off to the nearest integer (i.e. 1.25 becomes 1, 1.75 becomes 2), while [[Floating Point|floats]] will store the decimal data. However, if a variable is a Global, then it will ''always'' be a [[Floating Point|float]] and therefore will not round off the decimal values.
Other than that, however, generally [[Long Integer|longs]] and [[Short Integer|shorts]] will be rounded off to the nearest integer (i.e. 1.25 becomes 1, 1.75 becomes 2), while [[Floating Point|floats]] will store the decimal data. However, if a variable is a Global, then it will ''always'' be a [[Floating Point|float]] and therefore will not round off the decimal values.


<div id="catlinks"><p class='catlinks'>[[Special:Categories|Category]]: [[:Category: Scripting|Scripting]] | [[:Category: Commands]] | [[:Category: Functions]]</p></div>
<div id="catlinks"><p class='catlinks'>[[Special:Categories|Category]]: [[:Category: Scripting|Scripting]] | [[:Category: Commands]] | [[:Category: Functions]] | [[:Category: Articles to be Updated|Articles to be Updated]]</p></div>