Skip to content

Value - Array

Sets and gets an array element's value

Type: Property
Access: Read/Write
Data Type: String
Parameters: None

Parameters

Parameter Type Description
iItem Integer Array element (0 based)

Syntax

Property String Value
Access Type Syntax
Read Access: Get Value to StringVariable
Write Access: Set Value to StringVariable/Value

Description

Each element of this object has a defined value. The data value in an array element is set and retrieved with the value message.

Elements are accessed by an index number.

Set Value of oMyArray 3 to "Test Data"

Get Value of oMyArray 3 to sValue
showln 'The value of item 3 is: ' sValue

See Also

item_count | delete_item | delete_data