WPreferences is an application that opens a dialog widget to allow the user to setup and save the preferred path structure to be used by the OVSA SSW applications. The preferences are stored in the OVSA SSW !defaults structure, which is defined by calling the defparms procedure.

Some of the OVSA SSW applications, such as OVSA_Explorer, automatically call defparms procedure when launched if the !defaults variable is not already defined.

WARNING: If the preferences are already defined, calling the defparms procedure resets the defaults preferences.

 If no preference file does exists in the current directory, or if the defaprams procedure is aclled more than oance in an IDL sesion, the !defaults structure is defined with the following default values:

DATADIR STRING 'C:\working\'

DBDIR STRING 'C:\parm\'

WORKDIR STRING 'C:\ssw\radio\ovsa\doc\'

HELPDIR STRING 'C:\ss\'

EPHEMDIR STRING 'C:\ephem\'

WEBDIR STRING 'c:\web\'

CMDDIR STRING 'C:\std\'

FONT STRING 'lucida console*14'

PRFILE STRING 'None'

If a preference file is found, the first call of defparms procedure restores the  !defaults structure saved in that file. The current path structure may be viewed at any time using the command line statement:  help, !defaults, /struct.