mb_set_environment |
![]() ![]() |
status_t mb_set_environment( mb_interpreter_t* s, WORD environment )
This sets the runtime environment. This can be any value that then can be retrieved by mb_get_environment or by using:
env = ENVIRONMENT() AS INTEGER
See ENVIRONMENT for a list of predefined values
Example
// Set Run-Time Environment mb_set_environment( m_bas, m_nRunTimeEnvironment );
// Run the script mb_run( m_bas );
|