TextVariableInstances
A collection of text variable instances.
Instance
Read Only
Number length
The number of objects in the collection.
Methods
Number count()
Displays the number of elements in the TextVariableInstance.
TextVariableInstance add( LocationOptions to, Mixed reference, Object withProperties )
Creates a text variable instance at the specified location.
Parameters
Type Name Description 
TextVariableInstance item( Mixed index )
Returns the TextVariableInstance with the specified index or name.
Parameters
Type Name Description 
TextVariableInstance itemByName( String name )
Returns the TextVariableInstance with the specified name.
Parameters
Type Name Description 
TextVariableInstance itemByID( Number id )
Returns the TextVariableInstance with the specified ID.
Parameters
Type Name Description 
TextVariableInstance itemByRange( Mixed from, Mixed to )
Returns the TextVariableInstances within the specified range.
Parameters
Type Name Description 
TextVariableInstance firstItem()
Returns the first TextVariableInstance in the collection.
TextVariableInstance lastItem()
Returns the last TextVariableInstance in the collection.
TextVariableInstance middleItem()
Returns the middle TextVariableInstance in the collection.
TextVariableInstance previousItem( TextVariableInstance obj )
Returns the TextVariableInstance with the index previous to the specified index.
Parameters
Type Name Description 
TextVariableInstance nextItem( TextVariableInstance obj )
Returns the TextVariableInstance whose index follows the specified TextVariableInstance in the collection.
Parameters
Type Name Description 
TextVariableInstance anyItem()
Returns any TextVariableInstance in the collection.
TextVariableInstance everyItem()
Returns every TextVariableInstance in the collection.
String toSource()
Generates a string which, if executed, will return the TextVariableInstance.
TextVariableInstance []( Number index )
Returns the TextVariableInstance with the specified index.
Parameters
Type Name Description