com.livecode.array

Typemodule
DictionaryLCB
LibraryLiveCode Builder
Associationscom.livecode.array
Summary

This library consists of the operations on arrays included in the standard library of LiveCode Builder.

Description

This library consists of the operations on arrays included in the standard library of LiveCode Builder.

TypeNameSummarySyntax
expressionEmptyArray

Designates the array with no elements.

the empty array

iteratorRepeatForEachElementInArray

Repeat over the elements of an array.

element <Iterand>

- - -RepeatForEachKey

Repeat over the keys of an array.

key <Iterand>

modulecom.livecode.array

This library consists of the operations on arrays included in the standard library of LiveCode Builder.

key <Iterand>

operatorAmongElementsOfArray

Determines if an array contains a given element

<Needle> ( is not | is ) among the elements of <Target>

- - -AmongKeysOfArray

Determines if an array has a given key

<Needle> ( is not | is ) among the keys of <Target>

- - -CountElementsOfArray

Returns the number of elements in Target

the number of elements in <Target>

- - -ElementsOfArray

Returns the elements of an array.

the elements of <Target>

- - -KeysOfArray

Returns the keys of an array.

the keys of <Target>

- - -SingletonElementOfArray

Designates the element with key Key in Target. Index:An expression which evaluates to a string.

<Target> [ <Key> ]

statementDeleteElementOfArray

Deletes the element with key Key in Target. Index:An expression which evaluates to a string.

delete <Target> [ <Key> ]