up previous next
GetEnv

access shell variables

Syntax
GetEnv(S: STRING): STRING

Description
This function returns the value of system shell variables

Example
/**/  GetEnv("HOME");
/Users/bigatti

/**/  GetEnv("COCOARC");
/Users/bigatti/.cocoarc

/**/  GetEnv("COCOA_PACKAGES");
/Applications/CoCoA-4.7/packages