append_load_path
append_load_path (dir[, prepend])
This function appends the directory dir to the set loadpath option if not already present. If the optional argument prepend is specified and non-zero, dir is added to the beginning of the path list, removing any later occurrence of the directory. If prepend is zero or omitted and if dir is already present in the path list, the path list is returned.
If there is an Arbortext-path\custom\scripts subdirectory at startup, the \custom\scripts is automatically prepended to the load path for ACL, JavaScript, JScript, and VBScript files. Putting these supported script file types in the \custom\scripts subdirectory makes them automatically available, avoiding manual steps to add them to the path.
Related Topics