Ar BadStringIndex

From GECK

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

Personal tools