SYNDEFNS
WSupported on Windows
|
USupported on Unix
|
VSupported on OpenVMS
|
|
The SYNDEFNS environment variable specifies namespaces to import implicitly.
Value
A semicolon-delimited list of namespaces to import.
Discussion
To also import any nested namespaces, add a wildcard character (*) after the namespace name, (for example, mydefaultnamespace.*).
System and Synergex (and namespaces nested within them) and synglobal are reserved namespace names. In traditional Synergy, subroutines and functions that have no declared namespace are automatically added to the global namespace (synglobal). |
If the -qdefns compiler option is specified, SYNDEFNS is ignored.
Setting location
The environment or the [synergy] section of synergy.ini.
Used by
Compiler, Workbench, Synergy Prototype utility
Examples
set SYNDEFNS = MyCompany set SYNDEFNS = MyCompany.MyDivision set SYNDEFNS = synglobal;MyCompany.*