Internal List Object
From FusionWiki
| Internal List Object | |
|---|---|
| General Information | |
| Author: | LB |
| Release Date: | 2011 |
| Status: | Released |
| Last updated: | January 16, 2011 |
| Version: | 1.1 |
| Build: | 249 |
| Developer-only: | No |
| Website: | |
| Download: | On the forums |
| Runtime Versions | |
| HWA: | No Difference |
| Flash: | In Progress by Pharanygitis |
| Java: | No |
| Java Mobile: | No |
| Vitalize!: | No |
| Unicode: | No |
The Internal List Object is an extension for Multimedia Fusion 2 written by LB. It is essentially a List Object that has no visible interface at runtime. Because it does not have to redraw, it is thousands of times faster then the List Object at most actions, making it very useful for fastloops. You will see some more of the unique features below in the descriptions of the Actions, Conditions, and Expressions.
Actions
- Insert Item - Inserts an item a certain number times at the position specified.
- Change Item - Changes the specified item text.
- Copy Items - Copies a range of items and inserts or overwrites them at a different point in the list.
- Delete Items - Deletes a range of items.
- Clear List - Clears the entire list.
- Save List to File - Saves the list to a file using the specified item delimiter and escape character(s).
- Load List from File - Loads a list from a file using the specified item delimiter and escape character(s), and inserts the loaded list at the specified location in the current list.
- Load List from String - Loads a list from a string using the specified item delimiter and escape character(s), and inserts the loaded list at the specified location in the current list.
- Sort List in Range - Sorts the specified part of the list in the specified way (forward or reverse sort).
Conditions
- Item Exists in List - Returns true if the specified item exists in the list. (same as comparing # of item occurrences > 0)
Expressions
- Get Item (Item$) - Returns the item at the specified index in the list.
- Get Number of Items (Items) - Returns the number of items in the list.
- Get Number of Item Occurrences (ItemOccurrences) - Returns the number of times an item is in the list.
- Get Index of Item by Occurrence (IndexByOccurrence) - Returns the index of the nth occurrence of an item in the list.
- Get List as String (List$) - Returns the entire list as a string with the specified delimiter and escape character(s).
