content
» Path List - Sample Meta-Update Scripts
Output
More Information
These scripts are in the Meta-Update distribution and may be run with a trial license. They are fully documented in the Meta-Update User's Guide |
|||
What It Does
Simply lists the set of paths in the path (or any) environment variable. What It Shows
Details
The simplist of scripts would be a Loop= String to iterate through the path elements and an Output= with one assignment to write the file $mdash; a total of about 6 lines! This script is more generalized, allowing the environment variable to be changed and optionally creating a file. This script shows how an AssignInit=is used to get the value from the Environment variable specified or Path by using a double reference. The Loop= then uses this value as the string. Further, this script will list the elements of the path in a message and only if an output file is requested, create a file. A conditional Launch=is used to write the file. After the next Path element is set into tag Pelm the AssignPre issues a message. |