Stories
A collection of stories.
Go to Property Listing | Method Listing
Methods:
[], anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource
Property Listing
Property |
Type |
Access |
Description |
---|---|---|---|
readonly |
The number of objects in the collection. |
Method Listing
Story [] (index:Number)
Returns the Story with the specified index.
Parameter |
Type |
Description |
---|---|---|
index |
The index. |
Story anyItem ()
Returns any Story in the collection.
Number count ()
Displays the number of elements in the Story.
Story everyItem ()
Returns every Story in the collection.
Story firstItem ()
Returns the first Story in the collection.
Story item (index:Varies LongInteger String)
Returns the Story with the specified index or name.
Parameter |
Type |
Description |
---|---|---|
index |
LongInteger |
The index or name. Can accept: Long Integer or String. |
Story itemByID (id:Number)
Returns the Story with the specified ID.
Parameter |
Type |
Description |
---|---|---|
id |
The ID. |
Story itemByName (name:String)
Returns the Story with the specified name.
Parameter |
Type |
Description |
---|---|---|
name |
The name. |
Story itemByRange (from:Varies LongInteger Story String, to:Varies LongInteger Story String)
Returns the Stories within the specified range.
Parameter |
Type |
Description |
---|---|---|
from |
LongInteger |
The Story, index, or name at the beginning of the range. Can accept: Story, Long Integer or String. |
to |
LongInteger |
The Story, index, or name at the end of the range. Can accept: Story, Long Integer or String. |
Story lastItem ()
Returns the last Story in the collection.
Story middleItem ()
Returns the middle Story in the collection.
Story nextItem (obj:Story)
Returns the Story whose index follows the specified Story in the collection.
Parameter |
Type |
Description |
---|---|---|
obj |
The Story whose index comes before the desired Story. |
Story previousItem (obj:Story)
Returns the Story with the index previous to the specified index.
Parameter |
Type |
Description |
---|---|---|
obj |
The index of the Story that follows the desired Story. |
String toSource ()
Generates a string which, if executed, will return the Story.
Object of
Document.stories
XMLElement.stories