Command: error = AddMod file Description: Adds the module with the name "file" to the module list. Input: file - the name of the module you want to add. Result: error - if it can't find the file. 0 means ok and 1 means error. Note that the result is in that the result is in RC and not in RESULT. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: AppendList num file Description: Adds a module list with the name "file" to the module list. "num" is the number in the list you want to insert the new list at. -1 means the buttom of the list. Input: num - the position where you want to insert. file - the modulelist to insert. Result: error = this is an error code where 0 means ok and 1 means error. Note that the result is in RC not in RESULT. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: error = DelMod num Description: Deletes the module "num" in the module list. Input: num - the number of the module to be deleted from the list, starting from 1. Result: error = this is an error code where 0 means ok and 1 means error. Note that the result is in RC not in RESULT. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: error = ExgMods num1 num2 Description: Exchange the two modules "num1" and "num2" in the module list. Input: num1 and num2 - the number of the modules to be exchanged in the list, starting with 1. Result: error = this is an error code where 0 means ok and 1 means error. Note that the result is in RC not in RESULT. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: max = GetMaxNames Description: Returns the number of modules in the module list. Input: None Result: max - the number of modules in the list. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: name = GetModName num Description: Returns the name of the module with the number "num" with full path. Input: num - the number of the module from which you want the name, starting with 1. Result: error = this is an error code where 0 means ok and 1 means error. Note that the result is in RC not in RESULT. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: num = GetModNum name Description: This will return the number of the module named "name". If it couldn't find the name, a zero will be returned. Input: name - the file name (without path) of the module in the list. Result: num - the number of the module in the list. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: LoadList file Description: Loads a new APML list with the filename "file". Input: file - the name of the modulelist to be loaded. Result: None - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: error = SaveList file Description: Saves the current module list with the filename "file". If the module list is empty, an error will be returned. Input: file - the name of the modulelist to be saved. Result: error = this is an error code where 0 means ok and 1 means error. Note that the result is in RC not in RESULT. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: Shuffle Description: Shuffles the modulelist. Input: None Result: None - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Command: SortList Description: Sorts the modulelist in alphabetical order. Input: None Result: None