640 VTAB 9: HTAB 10: FOR I = 1 TO 30: PRINT "-";: NEXT I
650 VTAB 10: CALL -868: HTAB (10 + LEN(CC$(CH))) +FC: IF LEN(CC$(CH)) +(FC +20) >39 THEN HTAB 39
660 VTAB 10: INVERSE : PRINT "<": NORMAL
670 VTAB 10: HTAB 3: INPUT "NEW => ";NC$(CH)
680 IF NC$(CH) = "" THEN GOTO 130
690 IF LEN(NC$(CH)) <2 THEN PRINT : PRINT "NEW TEXT MUST BE AT LEAST 2 CHARACTERS": CALL -1052: FOR I = 1 TO 2000: NEXT I: VTAB 12: CALL -868: GOTO 650
700 IF LEN(NC$(CH)) > LEN(CC$(CH)) +FC THEN PRINT : PRINT "MESSAGE MUST BE =< " LEN(CC$(CH)) +FC" CHARACTERS": CALL -1052: FOR I = 1 TO 2000: NEXT I: VTAB 12: CALL -868: GOTO 650
710 IF LEN(NC$(CH)) >30 THEN PRINT : PRINT "MAXIMUM MESSAGE LENGTH 30 CHARACTERS": CALL -1052: FOR I = 1 TO 2000: NEXT I: VTAB 12: CALL -868: GOTO 500
720 IF LEN(CC$(CH)) > LEN(NC$(CH)) THEN FC = FC +( LEN(CC$(CH)) - LEN(NC$(CH))): GOTO 810
730 REM :
740 REM : RESET FREE BYTES
750 REM :
760 FC = FC -( LEN(NC$(CH)) - LEN(CC$(CH)))
770 REM :
780 REM : SET NEW COMMANDS TO
790 REM : DISPLAY IN INVERSE
800 REM :
810 CC$(CH) = NC$(CH):IN(CH) = 1
820 HOME : GOTO 130
830 REM :
840 REM : SET STANDARD COMMANDS
850 REM : READ CURRENT COMMANDS
860 REM : FROM RAM DOS IMAGE
870 REM :
880 FOR I = 1 TO 14: READ SC$(I): NEXT I
890 FOR I = 1 TO 14:IN(I) = 0: NEXT I
900 I = 1:FC = 0
910 FOR SA = 43380 TO 43582
920 A$ = CHR$( PEEK(SA))
930 CC$(I) = CC$(I) +A$
940 IF ASC(A$) >128 THEN I = I +1
950 IF ASC(A$) = 0 THEN FC = FC +1
960 NEXT SA
970 RETURN
980 RESTORE : FOR I = 1 TO 14: READ CC$(I):IN(I) = 0: NEXT I:FC = 0: GOTO 130
990 REM :
1000 REM :
1010 REM : POKE NEW TABLE INTO
1020 REM : MEMORY
1030 REM :
1040 VTAB 22: HTAB 20: FLASH : PRINT "REPLACING": NORMAL
1050 FOR I = 1 TO 14
1060 FOR J = 1 TO LEN(CC$(I)) -1
1070 CS$ = CS$ + MID$ (CC$(I),J,1)
1080 NEXT J
1090 X = ASC( RIGHT$(CC$(I),1))
1100 IF X >128 THEN GOTO 1120
1110 X = X +128
1120 CS$ = CS$ + CHR$(X)
1130 NEXT I
1140 IF LEN(CS$) <202 THEN CS$ = CS$ + CHR$(0): GOTO 1140