GetListPosition |
Top Previous Next |
Syntax - GetListPosition <Variable Name> <List Name> Where: <Variable Name> is the user defined name that is assigned to the variable. <List Name> is the user defined name that is assigned to the list.
Description: This command is used to retrieve the integer value of the current list position pointer and store is as the <Variable Name>. <List Name> identifies a list defined to the script.
Note: This command will store a 0 in the variable if the list has no members or a member has not been retrieved from it.
Sample: This statement will find the current list position form the list named MyList and store it in the variable ListPositionVariable. GetListPosition ListPositionVariable MyList
See Also:
|