Home > Articles > ListItem function in RoutineBot

ListItem function in RoutineBot

June 17th, 2009

Syntax

ListItem( List:String, Index:String )

Parameters

List:String

String, that contains comma separated handles. You can get this string as result of function FindWindows.

Index:String

Index of item in string.

Return value

Return  the item located at the specified Index within List. If Index parameter is less than zero or greater than number of items in the string you get an exception. To obtain the number of items in string use function ListSize.

Example
s:='1,2,3';
a:=ListItem(s,0);
MsgBox(a);

Download example ListItem

  • Share/Bookmark

Developer Articles