Difference between revisions of "ArrayCmp"
Jump to navigation
Jump to search
imported>Speedo (Graduating from beta) |
imported>Speedo (Updated syntax) |
||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
(Equality:bool) ArrayCmp FirstArrayID:long SecondArrayID:long | (Equality:bool) ArrayCmp FirstArrayID:long SecondArrayID:long ''CheckValidity:short'' | ||
Compares two arrays; Returns 1 if they are equal, or 0 if they are different or invalid. | Compares two arrays; Returns 1 if they are equal, or 0 if they are different or invalid. | ||
If ''CheckValidity'' is 1, ArrayCmp will return the following if one or both of the ArrayIDs is invalid: | |||
Value Meaning | |||
-1 ''FirstArray'' is invalid | |||
-2 ''SecondArray'' is invalid | |||
-3 Both arrays are invalid | |||
[[Category: Functions (Pluggy)]] | [[Category: Functions (Pluggy)]] | ||
[[Category: Array Functions (Pluggy)]] | [[Category: Array Functions (Pluggy)]] |
Latest revision as of 10:52, 30 March 2008
A command for Pluggy.
Syntax:
(Equality:bool) ArrayCmp FirstArrayID:long SecondArrayID:long CheckValidity:short
Compares two arrays; Returns 1 if they are equal, or 0 if they are different or invalid.
If CheckValidity is 1, ArrayCmp will return the following if one or both of the ArrayIDs is invalid:
Value Meaning -1 FirstArray is invalid -2 SecondArray is invalid -3 Both arrays are invalid