SYNDEFNS

Namespaces to import

WSupported on Windows
USupported on Unix
VSupported on OpenVMS

 

The SYNDEFNS environment variable specifies namespaces to import implicitly.

A semicolon-delimited list of namespaces to import.

To also import any nested namespaces, add a wildcard character (*) after the namespace name, (for example, mydefaultnamespace.*).

Note

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.

The environment or the [synergy] section of synergy.ini.

Compiler, Workbench, Synergy Prototype utility

set SYNDEFNS = MyCompany
set SYNDEFNS = MyCompany.MyDivision
set SYNDEFNS = synglobal;MyCompany.*