Difference between revisions of "Category:Pluggy"

390 bytes added ,  12:54, 19 February 2008
Added note about ArrayID's
imported>Haama
imported>Speedo
(Added note about ArrayID's)
Line 56: Line 56:
*Arrays have indexes from 0 to (array size - 1). The array size is set when you first create the array and can be modified with [[ArraySize]].
*Arrays have indexes from 0 to (array size - 1). The array size is set when you first create the array and can be modified with [[ArraySize]].
*There are 3 '''SetInArray''' and '''FindInArray''' functions: one for integers, one for floats, and one for references.
*There are 3 '''SetInArray''' and '''FindInArray''' functions: one for integers, one for floats, and one for references.
*Unlike [[Reference Variables]] or [[:Category: TSFC|TSFC]] StringID's, 0 is a valid ArrayID for Pluggy arrays.  If you wish to test a variable for a valid ArrayID, use the function [[ArrayCount]].
**While various Pluggy functions are capable of checking the validity of an ArrayID, [[ArrayCount]] is recommended since it does not have the potential to alter the array if used incorrectly.


[[Category: OBSE Plug-Ins]]
[[Category: OBSE Plug-Ins]]
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Functions (OBSE)]]
Anonymous user