Difference between revisions of "Category:Variables"

729 bytes removed ,  14:52, 28 May 2008
forget it, that's not going to work
imported>DragoonWraith
(well... this doesn't really look terribly good, BUT...)
imported>DragoonWraith
(forget it, that's not going to work)
Line 1: Line 1:
<div id="esstyle">
{{Update}}
<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 22: Line 19:
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" style="clear: both; position: absolute; width: 97.5%; bottom: 0; margin-bottom: 1em;"><p class='catlinks'>[[Special:Categories|Category]]: [[:Category: Scripting|Scripting]] | [[:Category: Commands|Commands]] | [[:Category: Functions|Functions]] | [[:Category: Articles to be Updated|Articles to be Updated]]</p></div>
[[Category:Scripting]]
[[Category:Commands]]
[[Category:Functions]]