option_path_list
option_path_list (name, arr)
This function returns in array variable arr the value of the path-list set option name. It returns the number of items placed in array variable arr. If name is not a path-list set option, or the set option has a null (empty) value, it returns 0.
|
A path-list option refers to set options such as javaclasspath and catalogpath, whose value is a semicolon-separated list of paths to directories or files.
|
Values are returned by splitting the list in the set option into separate file paths and returning one path in each array element. For example, if set option catalogpath has the value a;b;c, where a, b, and c are each absolute paths to directories containing document type information, this function will return a in arr[1], b in arr[2], and c in arr[3]. The function itself will return 3 in this case.