Current Help System: Tutor Translator (View Core Help)

## Procedures

Tutor procedures are translated as subroutines in PC-DMIS. The main problem is due to the fact that Tutor procedure can directly address the global variables, while PC-DMIS does not. To let PC-DMIS to access global variables is necessary that they are part of a global structured variable (environment) passed as parameter each procedure call.

Global variables for Procedures are defined as:

1. All variables defined by Tutor part program including memory arrays, E.WM1, E.WM2.

2. All auxiliary PC-DMIS variables used to emulate Tutor functionality. For variables used in the ENCODE, DECODE, FOR and LOOP translation does not need to be modified

3. All FUNCTION variables:
   E.OFF2ROT, E.BIGGEST, E.CALC_AXY, E.CALC_AYZ, E.CALC_AZY, E.BOOLVAL, E.PDMS2DEG, E.DMS2DEG

Warning: Tutor procedures that changes current PCDMIS settings like current alignment or current probe doesn’t work on current PCDMIS version

More:

Procedure Variables

Procedure Declaration

END Procedure Declaration