63000 PRINT : PRINT "PRETTYLISTER STARTED": PR# 1: PRINT CHR$(9);"80N":FF = 12:PL = 58:LL = 60:NT = 106: DIM TK$(NT):AD = 53456:SP$ = CHR$(32): FOR I = 1 TO 5:B5$ = B5$ +SP$: NEXT I: FOR I = 0 TO NT
63010 C = PEEK(AD): IF C <128 THEN TK$(I) = TK$(I) + CHR$(C):AD = AD +1: GOTO 63010
63030 NL = PEEK(NA) +256 * PEEK(NA +1): IF NL = 0 THEN GOTO 63290
63040 LN = PEEK(NA +2) +256 * PEEK(NA +3): IF LN > = 63000 THEN GOTO 63290
63050 I = 4
63060 C = PEEK(NA +I): IF C = 0 THEN NI = 0: GOSUB 63160:NA = NL: GOTO 63030
63070 IF C <128 THEN CD$ = CD$ + CHR$(C): GOTO 63100
63080 IF CD$ < >"" AND RIGHT$(CD$,1) < >SP$ THEN CD$ = CD$ +SP$
63090 CD$ = CD$ +TK$(C -128) +SP$
63100 IF C = 34 THEN IQ = NOT (IQ): GOTO 63150
63110 IF (C = 58 AND NOT IQ) OR C = 196 THEN GOSUB 63160: GOTO 63150
63120 IF C = 173 THEN NI = NI +1: GOTO 63150
63130 IF C = 129 THEN NF = NF +1: GOTO 63150
63140 IF C = 130 THEN NS = 1:NF = NF -1
63150 I = I +1: GOTO 63060
63160 IF LN <0 THEN PRINT B5$;: GOTO 63180
63170 PRINT RIGHT$(B5$ + STR$(LN),5);:LN = -1
63180 IF NS THEN IN = IN -3:NS = 0
63190 PB = 0:JN = IN:IN = 1 +3 *(NF +NI)
63200 LC = LEN(CD$):LP = JN +LC: IF LP >LL THEN GOTO 63230
63210 IF PB = 1 THEN PRINT B5$;
63220 FOR J = 1 TO JN: PRINT SP$;: NEXT J: PRINT CD$:CD$ = "": GOSUB 63270: RETURN
63230 FOR K = (LL -JN) TO 1 STEP -1:A$ = MID$ (CD$,K,1): IF (A$ = SP$ OR A$ = CHR$(42) OR A$ = CHR$(43) OR A$ = CHR$(44) OR A$ = CHR$(45) OR A$ = CHR$(47)) THEN GOTO 63250
63240 NEXT K
63250 IF PB = 1 THEN PRINT B5$;
63260 PB = 1: FOR J = 1 TO JN: PRINT SP$;: NEXT J: PRINT LEFT$(CD$,K):CD$ = RIGHT$(CD$,LC -K): GOSUB 63270: GOTO 63200