49170 REM = desc$() = text positioned before entry (for change) + ret val =
49180 REM = desv$() = permissable values (for 1 len fields only) =
49190 REM = deslr() = range: lowest value (for numeric type 4 fields) =
49200 REM = deshr() = range: highest value (for numeric type 4 fields) =
49210 REM = =
49220 REM = desnfld = number of fields =
49230 REM = descfld = field to start on (normally 1) =
49231 REM = =
49232 REM = des_roll_update=true if record updated upron roll key press =
49233 REM = =
49240 REM ====================================================================
50 REM =======> Read field information
500 PRINT
50000 VARNAME
50010 REM Save current values
50020 FOR
50030 VARNAME
50040 NEXT
50050 IF
50060 VARNAME
50070 VARNAME
50080 GOTO
50090 IF
50100 VARNAME
50110 VARNAME
50120 GOTO
50130 VARNAME
50140 VARNAME
50150 GOSUB
50160 UNDER
50170 PEN
50180 VARNAME
50190 VARNAME
50200 VARNAME
50210 VARNAME
50220 FOR
50230 WHILE
50240 UNKNOWN OP: 0x3A
50250 WEND
50260 WHILE
50270 UNKNOWN OP: 0x3A
50280 WEND
50290 GOSUB
50300 NEXT
50310 VARNAME
50320 VARNAME
50330 VARNAME
50340 VARNAME
50350 VARNAME
50360 GOSUB
50370 CLEAR KEY
50380 REPEAT
50390 UNKNOWN OP: 0x3A
50400 UNKNOWN OP: 0x3A
50410 UNKNOWN OP: 0x3A
50420 UNKNOWN OP: 0x3A
50430 UNKNOWN OP: 0x3A
50440 UNKNOWN OP: 0x3A
50450 UNKNOWN OP: 0x3A
50460 UNKNOWN OP: 0x3A
50470 UNKNOWN OP: 0x3A
50480 UNKNOWN OP: 0x3A
50490 UNKNOWN OP: 0x3A
50500 UNKNOWN OP: 0x3A
50510 UNKNOWN OP: 0x3A
50520 UNKNOWN OP: 0x3A
50530 UNKNOWN OP: 0x3A
50540 UNKNOWN OP: 0x3A
50550 UNKNOWN OP: 0x3A
50560 UNKNOWN OP: 0x3A
50570 UNKNOWN OP: 0x3A
50580 UNKNOWN OP: 0x3A
50590 UNKNOWN OP: 0x3A
50600 UNKNOWN OP: 0x3A
50610 UNKNOWN OP: 0x3A
50620 UNKNOWN OP: 0x3A
50630 UNKNOWN OP: 0x3A
50640 UNKNOWN OP: 0x3A
50650 UNKNOWN OP: 0x3A
50660 UNKNOWN OP: 0x3A
50670 UNKNOWN OP: 0x3A
50680 UNKNOWN OP: 0x3A
50690 UNKNOWN OP: 0x3A
50700 UNKNOWN OP: 0x3A
50710 UNKNOWN OP: 0x3A
50720 UNKNOWN OP: 0x3A
50730 UNKNOWN OP: 0x3A
50740 UNKNOWN OP: 0x3A
50750 UNKNOWN OP: 0x3A
50760 UNKNOWN OP: 0x3A
50770 UNKNOWN OP: 0x3A
50780 UNKNOWN OP: 0x3A
50790 UNKNOWN OP: 0x3A
50800 UNKNOWN OP: 0x3A
50810 UNKNOWN OP: 0x3A
50820 UNKNOWN OP: 0x3A
50830 UNKNOWN OP: 0x3A
50840 UNKNOWN OP: 0x3A
50850 UNKNOWN OP: 0x3A
50860 UNKNOWN OP: 0x3A
50870 UNKNOWN OP: 0x3A
50880 UNKNOWN OP: 0x3A
50890 UNKNOWN OP: 0x3A
50900 UNKNOWN OP: 0x3A
50910 UNKNOWN OP: 0x3A
50920 UNKNOWN OP: 0x3A
50930 UNKNOWN OP: 0x3A
50940 UNKNOWN OP: 0x3A
50950 UNKNOWN OP: 0x3A
50960 UNKNOWN OP: 0x3A
50970 UNKNOWN OP: 0x3A
50980 UNKNOWN OP: 0x3A
50990 UNKNOWN OP: 0x3A
510 LOCATE
51000 UNKNOWN OP: 0x3A
51010 UNKNOWN OP: 0x3A
51020 UNKNOWN OP: 0x3A
51030 UNKNOWN OP: 0x3A
51040 UNKNOWN OP: 0x3A
51050 UNKNOWN OP: 0x3A
51060 UNKNOWN OP: 0x3A
51070 UNKNOWN OP: 0x3A
51080 UNKNOWN OP: 0x3A
51090 UNKNOWN OP: 0x3A
51100 UNKNOWN OP: 0x3A
51110 UNKNOWN OP: 0x3A
51120 UNKNOWN OP: 0x3A
51130 UNKNOWN OP: 0x3A
51140 UNKNOWN OP: 0x3A
51150 UNKNOWN OP: 0x3A
51160 UNKNOWN OP: 0x3A
51170 UNKNOWN OP: 0x3A
51180 UNKNOWN OP: 0x3A
51190 UNKNOWN OP: 0x3A
51200 UNKNOWN OP: 0x3A
51210 UNKNOWN OP: 0x3A
51220 UNKNOWN OP: 0x3A
51230 UNKNOWN OP: 0x3A
51240 UNKNOWN OP: 0x3A
51250 UNKNOWN OP: 0x3A
51260 UNKNOWN OP: 0x3A
51270 UNKNOWN OP: 0x3A
51280 UNKNOWN OP: 0x3A
51290 UNKNOWN OP: 0x3A
51300 UNKNOWN OP: 0x3A
51310 UNKNOWN OP: 0x3A
51320 UNKNOWN OP: 0x3A
51330 UNKNOWN OP: 0x3A
51340 UNKNOWN OP: 0x3A
51350 UNKNOWN OP: 0x3A
51360 UNKNOWN OP: 0x3A
51370 UNKNOWN OP: 0x3A
51380 UNKNOWN OP: 0x3A
51390 UNKNOWN OP: 0x3A
51400 UNKNOWN OP: 0x3A
51410 UNKNOWN OP: 0x3A
51420 UNKNOWN OP: 0x3A
51430 UNKNOWN OP: 0x3A
51440 UNKNOWN OP: 0x3A
51450 UNKNOWN OP: 0x3A
51460 UNKNOWN OP: 0x3A
51470 UNKNOWN OP: 0x3A
51480 UNKNOWN OP: 0x3A
51490 UNKNOWN OP: 0x3A
51500 UNKNOWN OP: 0x3A
51510 UNKNOWN OP: 0x3A
51520 UNKNOWN OP: 0x3A
51530 UNKNOWN OP: 0x3A
51540 UNKNOWN OP: 0x3A
51550 UNKNOWN OP: 0x3A
51560 UNKNOWN OP: 0x3A
51570 UNKNOWN OP: 0x3A
51580 UNKNOWN OP: 0x3A
51590 UNKNOWN OP: 0x3A
51600 UNKNOWN OP: 0x3A
51610 UNKNOWN OP: 0x3A
51620 UNKNOWN OP: 0x3A
51630 UNKNOWN OP: 0x3A
51640 UNKNOWN OP: 0x3A
51650 UNKNOWN OP: 0x3A
51660 UNKNOWN OP: 0x3A
51670 UNKNOWN OP: 0x3A
51680 UNKNOWN OP: 0x3A
51690 UNKNOWN OP: 0x3A
51700 UNKNOWN OP: 0x3A
51710 UNKNOWN OP: 0x3A
51720 UNKNOWN OP: 0x3A
51730 UNKNOWN OP: 0x3A
51740 UNKNOWN OP: 0x3A
51750 UNKNOWN OP: 0x3A
51760 UNKNOWN OP: 0x3A
51770 UNKNOWN OP: 0x3A
51780 UNKNOWN OP: 0x3A
51790 UNKNOWN OP: 0x3A
51800 UNKNOWN OP: 0x3A
51810 UNKNOWN OP: 0x3A
51820 UNKNOWN OP: 0x3A
51830 UNKNOWN OP: 0x3A
51840 UNKNOWN OP: 0x3A
51850 UNKNOWN OP: 0x3A
51860 UNKNOWN OP: 0x3A
51870 UNKNOWN OP: 0x3A
51880 UNKNOWN OP: 0x3A
51890 UNKNOWN OP: 0x3A
51900 UNKNOWN OP: 0x3A
51910 UNKNOWN OP: 0x3A
51920 UNKNOWN OP: 0x3A
51930 UNKNOWN OP: 0x3A
51940 UNKNOWN OP: 0x3A
51950 UNKNOWN OP: 0x3A
51960 UNKNOWN OP: 0x3A
51970 UNKNOWN OP: 0x3A
51980 UNKNOWN OP: 0x3A
51990 UNKNOWN OP: 0x3A
520 PRINT
52000 UNTIL
52010 CLEAR KEY
52020 REM Only update if Enter pressed or if rolled with DES_ROLL_UPDATE on
52030 IF
52040 REM Validate values etc
52050 GOSUB
52060 VARNAME
52070 IF
52080 INC
52090 IF
52100 VARNAME
52110 IF
52120 INC
52130 IF
52140 VARNAME
52150 FOR
52160 IF
52170 IF
52180 IF
52190 IF
52200 IF
52210 VARNAME
52220 VARNAME
52230 BELL
52240 IF
52250 IF
52260 IF
52270 VARNAME
52280 VARNAME
52290 BELL
52300 NEXT
52310 IF
52320 VARNAME
52330 UNDER
52340 RETURN
52350 REM Display old
52360 LOCATE
52370 PRINT
52380 RETURN
52390 REM Get current char & highlight it
52400 PEN
52410 INVERSE
52420 UNDER
52430 LOCATE
52440 PRINT
52450 UNDER
52460 INVERSE
52470 PEN
52480 RETURN
52490 REM Help...
52500 VARNAME
52510 PAPER
52520 WINDOPEN
52530 CDOWN
52540 CURS
52550 FLASH
52560 COLOUR
52570 PAPER
52580 PEN
52590 CENTRE
52600 PAPER
52610 PEN
52620 CDOWN
52630 CDOWN
52640 CENTRE
52650 CDOWN
52660 CENTRE
52670 CDOWN
52680 CDOWN
52690 CENTRE
52700 CDOWN
52710 CENTRE
52720 CDOWN
52730 CENTRE
52740 CDOWN
52750 CENTRE
52760 CDOWN
52770 CENTRE
52780 CDOWN
52790 CENTRE
52800 CDOWN
52810 CENTRE
52820 CDOWN
52830 CENTRE
52840 CDOWN
52850 CENTRE
52860 CDOWN
52870 CENTRE
52880 CDOWN
52890 CENTRE
52900 CDOWN
52910 CENTRE
52920 CDOWN
52930 CENTRE
52940 CDOWN
52950 CENTRE
52960 CDOWN
52970 CDOWN
52980 PEN
52990 CENTRE
530 LOCATE
53000 CLEAR KEY
53010 REPEAT
53020 UNTIL
53030 CLEAR KEY
53040 WINDEL
53050 PEN
53060 PAPER
53070 GOSUB
53080 RETURN
53090 REM Flash colour 2
53100 IF
53110 RETURN
53120 REM Put new char on screen
53130 VARNAME
53140 IF
53150 IF
53160 IF
53170 IF
53180 VARNAME
53190 GOSUB
53200 GOTO
53210 REM Can't use MID$=... otherwise a STOS bug will change DES_P$ as well as DES_text$(DES_CFLD) in next line ( ie cannot have mid$(DES_text$(DES_CFLD),DES_POS,1)=chr$(DES_A) )