A collection of stories.
Methods
StoryanyItem ()
Returns any Story in the collection.
number count ()
Displays the number of elements in the Story.
Array of StoryeveryItem ()
Returns every Story in the collection.
StoryfirstItem ()
Returns the first Story in the collection.
Storyitem (index:
any)
Returns the Story with the specified index or name.
| Parameter | Type | Description |
|---|---|---|
| index | Long Integer String |
The index or name. Can accept: Long Integer or String. |
StoryitemByID (id:
number)
Returns the Story with the specified ID.
| Parameter | Type | Description |
|---|---|---|
| id | number | The ID. |
StoryitemByName (name:
string)
Returns the Story with the specified name.
| Parameter | Type | Description |
|---|---|---|
| name | string | The name. |
Array of StoryitemByRange (from:
any, to:
any)
Returns the Stories within the specified range.
| Parameter | Type | Description |
|---|---|---|
| from | Story Long Integer String |
The Story, index, or name at the beginning of the range. Can accept: Story, Long Integer or String. |
| to | Story Long Integer String |
The Story, index, or name at the end of the range. Can accept: Story, Long Integer or String. |
StorylastItem ()
Returns the last Story in the collection.
StorymiddleItem ()
Returns the middle Story in the collection.
StorynextItem (obj:
Story)
Returns the Story whose index follows the specified Story in the collection.
| Parameter | Type | Description |
|---|---|---|
| obj | Story | The Story whose index comes before the desired Story. |
StorypreviousItem (obj:
Story)
Returns the Story with the index previous to the specified index.
| Parameter | Type | Description |
|---|---|---|
| obj | Story | The index of the Story that follows the desired Story. |
string toSource ()
Generates a string which, if executed, will return the Story.
Element of:
Document.stories
XMLElement.stories