Using Callback Interface

Previous  Next

 

Using the Callback Interface you can create a new type or modify an existing analysis by using an existing analysis and then create or modify data and reports by interjecting code using callbacks.  Callbacks are simply predefined MyBASIC2 functions that will be called at certain points during the analysis.  You can us as many of the callbacks as you need.  If you don't have one of the callbacks defined, then the MaxA will simply skip it.

 

To use the Callback Interface, call the MaxA APP.MenuBarCmd function and supply a MyBASCI2 script file as the second parameter.  This file will have the callback functions that you need to use to create the desired output.  You can also define the MAXA$CALLBACK_MODULE Environment variable to point to your callback module before starting an analysis.

 

 

The following callback functions may be defined

 

MAXA$CALLBACK_MODULE@UID_Callback_Before

MAXA$CALLBACK_MODULE@UID_Callback_Update

MAXA$CALLBACK_MODULE@UID_Callback_After

 

MAXA$CALLBACK_MODULE@DPS_Callback_Before

MAXA$CALLBACK_MODULE@DPS_Callback_After

 

MAXA$CALLBACK_MODULE@DRS_Callback_Before

MAXA$CALLBACK_MODULE@DRS_Callback_After