Originally Posted by
Shopgeek
Hi Shags, (I just noticed your second post, thank you)
Thanks for your help.
RTS, guessing and END statement? (Return from Subroutine)
NRTS (line number or label)
NCNT (line number or label)
This is a snippet from one of the subroutines:
IF[V8 LT 0]NCNT (if common variable 8 is less than 0, jump to line NCNT
V30=V8 (set variable 30 equal to variable 8)
CALL OMOJI (call subroutine OMOJI)
NCNT (line number or label)
IF[V38 EQ 0]NRTS (if variable 38 equals 0 goto line NRTS)
CALL OCOUN (call subroutine named OCOUN)
NRTS RTS (line number NRTS which returns from the subroutine)
so my interpretation of this is:
if (V8 < 0) {
V30 = V8; // set var
CALL OMOJI; // call OMOJI sub.
}
if (V38 == 0) {
CALL OCOUN; // call OCOUN sub
}
The usage of both NCNT and NRTS in these conditionals, no idea.
Once again, thanks for your help.
sg.