Use this function to define a list. You can get a element of list by calling it by its index value. First element has index value 0, second element has index value 2 and so on. The function demands the following parameters:
%DefList(ListName,Type)
Thereby the parameter Type is optional and can be one of the following values:
Local  - defines a local list (default)
Global - defines a global list
Global defined lists are automaticaly removed from memory if the script file is closed.

This function call is only processed once. You can use the list afterwards by using the following call:

%ListName(ElementIndex)
This function call returns the element of index ElementIndex. If you want to return the last element of list you can use the word Last instead of an element index.

Examples:
%DefList(MyList,Local)
%MyList(0)
%MyList(Last)