NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



KeyExists

Does specified key (indicee) exist in specified array?

Checks for key inside of array

Sample Source

CreateArray MyArray

MyArray["one"] := 1
MyArray["three"] := 3

If (KeyExists "one" In MyArray) Then
   Say "There is a one!"
   Say "One is " + MyArrray["one"]
EndIf

Related Function(s):
   CreateArray; Defined; IsArray;

Minimum version: 4.8, build 20050928