Arbortext Command Language > Functions by Alphabetical Listing > append_composer_path
  
append_composer_path
append_composer_path (dir[, prepend])
The append_composer_path function appends dir to the directories specified by the set composerpath command. If the optional prepend argument 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.
For example, if you want to append a directory stored in the composer subdirectory of the company directory, so your configuration files are searched last:
append_composer_path("/company/composer")
If you want to prepend your directory stored in the company subdirectory, so your configuration files are searched first:
append_copmposer_path('/company/composer',1)
If there is an Arbortext-path\custom\composer subdirectory at startup, the \custom\composer path is automatically prepended to the path for .ccf files. Putting your .ccf files in the \custom\composer subdirectory makes them automatically available, avoiding manual steps to add them to the path.
Related Topics
set composerpath command