somGetGlobalEnvironment - Remarks

This function returns a pointer to the current global Environment structure. This structure can be passed to methods that require an (Environment *) argument. The caller can determine if the called method has raised an exception by testing whether

ev->exception._major != NO_EXCEPTION

If an exception has been raised, the caller can retrieve the name and value of the exception using the somExceptionId and somExceptionValue methods.


[Back: somGetGlobalEnvironment - Parameters]
[Next: somGetGlobalEnvironment - Related Information]