NOP Design Home Page
Documentation
TOC/Index
Search
Downloads



InsertBefore

Inserts an element into a SIML list variable before the current item

Inserts a new item into an existing list before the current item. This item can be of any type, including another list.

Sample Source

CreateList MyList
InsertBefore 1 To MyList
InsertAfter "Item Two" To MyList
SelectItem First from MyList
While AtEndOfList MyList <> True
   Say CurrentItem Of MyList
   SelectItem Next from MyList
Loop

Related Function(s):
   CreateList; CurrentItem; InsertAfter; SelectItem;

Minimum version: 1.0