|Default Value||.wxpdef file in the current directory|
This resource is used to specify the resource file which stores default resource values. If this resource is not specified, the default is the file .wxpdef or Wxp.res (wxp.def for Windows) in the current working directory. The easiest way to specify this resource is to just list the name of the resource file and its full path:
If the filename is left off, the program will first search for a .wxpdef file in that directory. If that is not found, then it searches for a Wxp.res file.
NOTE: The default resource is normally specified through the wxpdefault environment variable rather than specifying it on the command line.
You also specify multiple resource files, each separated by colons ":".
The program will process each file in the order listed so that any resources specified in the second file will take precedence over the first.
WXP allows for conditional processing of resource files. This allows you to set up a resource file
IF LDM *data_path: /home/ldm/data/ddplus ELSE *data_path: /home/wxp/ddplus END
In this example, you have two redundant ingestors and you want to toggle between data being saved by the LDM and data saved by the WXP ingestor. You can do this by setting the default resource to:
This would then toggle on the first data_path specification, not the second (used if LDM not specified).
For further information about WXP, email firstname.lastname@example.org
Last updated by Dan Vietor on July 30, 1998