4Fh LN$STRT run translator
Input

B register - mode (see below)
X register - offset in Q code to run time error (ignored if B register 0 or 1).

Output If an error is detected:
X register - offset to error in TEXTCELL
B register - error number
Description

Runs the translator or locates an instruction in the TEXTCELL.

There are four modes available:

0    translating language procedures
1    translating CALC expressions
2    locating errors in CALC
3    locating errors in language procedures

After a successful translation, the result is put in the QCODE output cell.

If the B register is 2 or 3 and the value of X is greater than the length of the Q code, in other words you are asking for an error past the end of the code, the effect is unpredictable.

On the LZ machines, the current display mode DPB_MODE determines whether the translation is for 2 or 4-line machines.

LZ users, see also LN$XSTT.

Example
                CLRB              ; translate language procedure
                OS      LN$STRT
                BCC     DONE
                OS      ER$MESS   ; report error
      DONE:
                RTS
Errors any translation error