Ar BadStringIndex
Revision as of 09:27, 29 June 2014 by imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns a constant (an empty string) which represents an invalid index for string indexed arrays (string maps). It can be used to compar...")
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns a constant (an empty string) which represents an invalid index for string indexed arrays (string maps). It can be used to compare the results of other array functions.
Syntax
("":str) Ar_BadStringIndex
Example
if eval (Ar_Find SomeValue, MyStringMap) == Ar_BadStringIndex ; * SomeValue is not an element found in MyStringMap endif
See Also
- Ar_BadNumericIndex (equivalent for numeric indexed arrays)
- Ar_Find
- Ar_Map
- Ar_Construct
- Array Variables