Setup For Examples
Overview
A minimal EUS environment is required to run the code samples in this manual. The following configuration file and setup program loads the necessary global strings to run the examples.
Configuration file
|
Initialization program
|
Personalizing Your Configuration
Individual users may want specific environment characteristics, and different projects may require separate locations for source and data files. The TPM environment variable invokes PRO/5 with a personalized copy of the configuration file.
For example, a PRO/5 developer may prefer configuration settings stored in a file called sys/config.DLM. Before invoking PRO/5, an operating system environment variable called TPM is set equal to the full path and location of this personal file. The EUS Toolkit locates the file config.DLM in the sys directory and uses the preferred settings and file locations while running.
In a UNIX or similar operating system (Bourne or Korn shell), execute a command line similar to:
|
In a UNIX or similar system (C shell), execute a command similar to:
|
In MS-DOS, execute a command similar to:
|
Some developers may prefer different configuration files for different applications. Once the various configuration files are defined, invoke a new application and specify the desired configuration file in a command line option. For example:
|