Ar BadStringIndex

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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

[help]
("":str) Ar_BadStringIndex

Example

if eval (Ar_Find SomeValue, MyStringMap) == Ar_BadStringIndex
    ; * SomeValue is not an element found in MyStringMap
endif

See Also