Joining conditions ------------------------------

do not join after statements:

ON [ERROR]
ON [PROC] [GOTO] [GOSUB] [ELSE]
 ON:
 ON ERROR OFF
IF [THEN] [ELSE]
[CASE] OF
DATA
RETURN ENDPROC = [ENDFN] at end of line

do not join before statements:

DEF [PROC] [FN]
WHEN
OTHERWISE
ENDCASE
ELSE {&CC}
ENDIF
DATA
# - tag

Possible ToDo -----------------------------------

Assembler
 macros names to functions

Translate
 FN statement
 end of DATA
 nested errors
 TIME=
 CLOSE#0

General
 shortest integer
 multiple * + ; ()
 hex>decimal ?
 cross ref ????
 syntax checks ????
  IF ENDIF
  CASE ENDCASE
  WHILE ENDWHILE
  etc

Possible Done -----------------------------------

/size reports in/out
/VDU: with Vduoff - remove VDU:
/DATA variable names
DATA tokenise > cannot be a running program
/Dataoff and rules
/Basalt to be crunched before translation
/WHILE without colon
/TO P?
/concatenate lines
/EVAL [READ] [DATA] warning
/binary numbers>decimal
/NEXT delete variable
/STEP delete if 1
/THEN delete single
/CHR$ to literal character
/Basalt list variables - names with ` _
/routine name substitution
/Basalt keyword suffices - DAYZ?
/SWI name conversion in assembler
/report variables, not just names
/Translate:
 /insert COMAL PROC and FN tokens
 /events
 /constants
 /tags
 /ON OFF to TRUE FALSE
 /RETURN to =
 /ENDFN to =FALSE
 /END CASE WHILE PROC IF FN
 /ENDCASE to WHEN
 /ENDIF to ELSE (&CC)
 /add ENDIFs for ELSEIFs
 /assembler macros

/Excess :: after joining lines
/Join multiple LOCAL DIM READ VDU statements
/Multiple LET literals on one line
/display line number

/STEP
/LET
