COM/MTS Guide - Prolifics
COM/MTS Guide - Prolifics
COM/MTS Guide - Prolifics
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Implementing MethodsJPL VariablesFigure 3-6 This sample screen-level JPL module implements the component'smethods.JPL variables declared in the component's unnamed procedure are only available in thecomponent-level JPL; they will not be in scope for widget-level JPL or for calls fromthe client. To increase the scope of the variables, use the JPL global command.Implementing Methods in CIn C, rather than the JPL commands receive_args, return_args, andraise_exception, you would use the following functions:! sm_receive_args (char *)! sm_return_args (char *)! sm_raise_exception (int, char *)<strong>COM</strong>/<strong>MTS</strong> <strong>Guide</strong> 3-15