Ar BadStringIndex

From GECK
Jump to: navigation, search


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