ENVIRONMENT

Previous  Next

 

env   = ENVIRONMENT() AS INTEGER

value = ENVIRONMENT( variable-name AS STRING ) AS VARIANT

 


 

The first format returns the current interpreter environment. The following environments currently exists:

 

None        0

Console     1

Windows     2

MaxA        3

MaxPRO      4

MaxTRAQ     5

 

 

The second format searches for a named environment variable and returns a Value that can be one of the following types

 

STRING

INTEGER

REAL

REFERENCE

MODULE