home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er
/
64ER_CD.iso
/
sh3x
/
sh34c.d64
/
cat.main
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
1995-03-30
|
10KB
|
365 lines
1 (null)TO1000
10 U=UT+1:ONUGOTO9000,9010,9020,9030,9040,9050,9060,9070,9080,9090:U=U-10
20 ONUGOTO9100,9110,9120,9130,9140,9150,9160,9170,9180,9190:U=U-10
30 ONUGOTO9200,9210,9220,9230,9240,9250,9260,9270,9280,9290:U=U-10
40 ONUGOTO9300,9310,9320,9330,9340,9350,9360,9370,9380,9390:U=U-10
50 ONUGOTO9400,9410,9420,9430,9440,9450,9460,9470,9480,9490:U=U-10
60 ONUGOTO42418,23205,11610,12333,64048,9210,9210,9210,9210,9210:U=U-10
70 ONUGOTO9210,9210,9210,9210,9210,9210,9210,9210,9210,9210:U=U-10
80 ONUGOTO9210,9210,9210,9210,9210,9210,9210,9210,9210,9210:U=U-10
90 ONUGOTO9210,9210,9210,9210,9210,9210,9210,9210,9210,9210:U=U-10
500 KL=4
502 IFUT<40THENKL=3
504 IFUT<32THENKL=2
505 IFUT<08THENKL=1
506 IFBOTHEN4050
509 POKEL,2:POKES,20:SYSM:PRINT"[144]"KL
510 POKEL,8:POKES,8:SYSM:PRINTLEFT$(SP$,23)
520 POKEL,12:POKES,9:SYSM:PRINTF1"[157] "TAB(24)AU"[157] "TAB(31)LEFT$(SP$,7)
530 POKEL,16:POKES,2:SYSM:PRINTLEFT$(SP$,15)SPC(4)LEFT$(SP$,19)
540 POKEL,20:POKES,7:SYSM:PRINTNA$+LEFT$(SP$,9-LEN(NA$))
550 POKEL,23:POKES,10:SYSM:PRINTLV"[157] "
560 POKEL,22:POKES,26:SYSM:PRINT" "
570 POKEL,8:POKES,8:SYSM
580 IFX1>0THENPRINTX1;
590 PRINTTAB(13)X1$;
600 IFX2>0THENPRINTX2;
610 PRINTTAB(19)"=";
620 IFX3>0THENPRINTX3;
630 IFX4<>0THENPRINT"[145]":PRINTTAB(19)X2$TAB(25)"=";:IFX4<>-1THENPRINTX4;
640 PRINT"[145]"
650 IFX1=-1THENPRINTTAB(9):X1=ER
660 IFX2=-1THENPRINTTAB(15):X2=ER
670 IFX3=-1THENPRINTTAB(21):X3=ER
680 IFX4=-1THENPRINTTAB(27)
690 E1$=""
700 GETQ$:POKE204,0
710 IFVAL(Q$)>0ORQ$="0"THEN750
715 IFQ$="A"ORQ$="[133]"THEN880
720 IFQ$=CHR$(13)THEN780
730 IF(Q$<>CHR$(20)ANDQ$<>"_")ORLEN(E1$)=0THEN700
740 POKE204,1:PRINT"[157] [157][157]";:E1$=LEFT$(E1$,LEN(E1$)-1):GOTO700
750 E1$=E1$+Q$:PRINTQ$;
760 IFLEN(E1$)>3THENPOKE204,1:PRINT"[157][157][157][157] [157][157][157][157]";:E1$=""
770 GOTO700
780 IFE1$=""THEN700
785 POKE204,1:PRINT" ":AU=AU+1
786 X4=0
787 IFVAL(E1$)=ERTHENF2=F2+1:SYSRICHTIG:RETURN
790 FE=FE+1:F1=F1+1:F2=F2-1:POKE198,0:IFF2<0THENF2=0
795 POKEL,16:POKES,2:SYSM:PRINT"LEIDER FALSCH !"TAB(22)"RICHTIG WAERE:"ER
800 POKEL,22:POKES,26:SYSM:PRINT"TASTE[146]"
810 FORX=1TO10:NEXT:PRINT"[145]"TAB(26)" ":GETQ$:IFQ$=""THEN800
820 HH=5
830 IFX1$="+"THENHH=0:IFX1+X2>100THENRETURN
840 IFX1$="-"THENHH=1:IFX1-X2<0THENRETRUN
850 IFHH=5ORX1>100ORX2>100THENRETURN
860 PRINT"[154][147]":SYS49152,X1,HH,X2
870 GOSUB5000:RETURN
880 IFPOS(X)>20ANDPOS(X)<27THENX3=-1
882 IFPOS(X)>14ANDPOS(X)<21THENX2=-1
884 IFPOS(X)<15THENX1=-1
889 PRINT"[147] WILLST DU WIRKLICH ABBRECHEN ?"
890 PRINT" DAS WAERE EIGENTLICH SEHR SCHADE,"
900 PRINT" UND DU BEKOMMST DANN AUCH WENIGER"
905 PRINT" PUNKTE!"
910 INPUT" (J/N)";Q$
920 IFQ$<>"J"THENGOSUB5000:GOTO500
930 MA=.9:GOTO3360
1000 DEFFNZ(X)=INT(RND(1)*X)+1:OPEN4,4
1010 L=214:S=211:M=58640:AN=49:DIMU%(AN):RICHTIG=51000:NA$="JOACHIM "
1020 DIMU$(AN):FORX=0TOAN:READU$(X):NEXT
1030 SP$=" ":E$=" [164][164][164] "
1040 H$=" [161]"+LEFT$(SP$,18)+"[161]"+LEFT$(SP$,16)+"[161][146]"
1060 X=RND(0)*100:FORY=1TOX:Z=RND(1):NEXT
1100 POKE51054,100:MA=1:F2=0:FE=0:AU=0:F1=0:BO=0
1800 POKE53280,12:POKE53281,12:PRINT"";CHR$(142);CHR$(8)
1805 PRINT"[147][155]"SP$;
1810 FORX=1TO23:PRINT" "SPC(38)" ";:NEXT
1820 PRINT"[157]"SP$"[157]"CHR$(148)" ";
1850 PRINT""TAB(5)"[144]F1[146] DATEI LADEN"
1852 PRINTTAB(5)"[144]F2[146] DATEI SICHERN"
1855 PRINTTAB(5)"[144]F3[146] DATEI ENTWERFEN/ANSCHAUEN"
1857 PRINTTAB(5)"[144]F4[146] NAME : ";NA$
1860 PRINT"[155]"SP$
1862 PRINTTAB(5)"[144]F5[146] ARBEITSBLATT (ZUFALLS M.)"
1865 PRINTTAB(5)"[144]F6[146] ARBEITSBLATT DRUCKEN"
1867 PRINTTAB(5)"[144]F7[146] BEGINNEN (ZUFALLS MODUS)"
1870 PRINTTAB(5)"[144]F8[146] BEGINNEN"
1875 PRINT"[155]"SP$:PRINT"[158]"R$
1880 GETQ$:Q=ABS(ASC(LEFT$(Q$+" ",1))-132)
1890 ONQGOTO3250,2000,4500,3500,3200,3100,4000,3300
1900 GOTO1880
2000 POKE53280,00:POKE53281,00
2010 PRINT"[147][158] [172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][187]"
2020 PRINTH$
2040 PRINT" [161]NUMMER DES","[161] ANZAHL DER"TAB(37)"[161]"
2050 PRINT" [161] UNTERPROGRAMMS :","[161] ABFRAGEN ?"TAB(37)"[161]"
2060 PRINT" [161]",,"[161]"TAB(37)"[161]"
2070 PRINT" [188][146][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][188][146][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][190]"
2080 PRINTH$,H$,H$,""LEFT$(SP$,37)
2090 FORX=1TO3:PRINT" "TAB(37)" ":NEXT:PRINT" "LEFT$(SP$,37)
2100 PRINT" + - : ZEHNERSTELLE AENDERN"
2110 PRINT" 0 BIS 9 : EINERSTELLE AENDERN"
2130 PRINT" RETURN[146] : UEBERNEHMEN WIE ANGEZEIGT"
3025 U1=0:POKE650,128
3030 FORX=0TOAN:U5=U%(X)-U1:U4=INT(U5/10):U3=U5-U4*10:U1=U%(X)
3035 POKEL,11:POKES,3:SYSM:PRINTLEFT$(SP$,34)
3040 PRINT"[145][159]"LEFT$(SP$,(37-LEN(U$(X)))/2)+U$(X)
3045 GETQ$
3046 Q=VAL(Q$):IFQ=0ANDQ$<>"0"THENQ=U3
3048 IFQ$="+"THENIFU4<9THENU4=U4+1
3049 IFQ$="-"THENU4=0
3054 IFU4THENPRINT"[157]";
3055 U2=U4*10+Q:IFXTHENU%(X)=U2+U%(X-1):GOTO3065
3060 U%(.)=U2
3065 POKEL,7:POKES,9:SYSM:PRINTXTAB(28);:IFU4THENPRINT"[157]";
3070 PRINTU2:U3=Q
3071 IFQ$=CHR$(13)THEN3075
3072 GOTO3045
3075 NEXT:POKE650,0
3080 R$="GESAMTZAHL DER ABFRAGEN :"+STR$(U%(AN))
3090 GOTO1800
3100 PRINT"[145][145]"LEFT$(SP$,38)
3110 PRINT"[145][145][145]";:GOSUB3600:GOTO1800
3200 OPEN1,8,15:CLOSE1:IFST<0THENR$="1541 NICHT ANGESCHLOSSEN!":GOTO1800
3210 OPEN1,8,2,"@:!RECH."+NA$+",S,W"
3220 FORX=0TOAN:PRINT#1,U%(X):NEXT
3230 CLOSE1:GOTO1800
3250 OPEN1,8,15:CLOSE1:IFST<0THENR$="1541 NICHT ANGESCHLOSSEN!":GOTO1800
3255 PRINT"[144]":SYS50300
3260 PRINT"":GOSUB3600
3270 F$="!RECH."+NA$+",S,R"
3272 OPEN1,8,2,F$:OPEN2,8,15:INPUT#2,X,R$:CLOSE1:CLOSE2
3277 IFX<>0THEN1800
3280 OPEN1,8,2,F$
3282 FORX=0TOAN:INPUT#1,U%(X):NEXT
3285 CLOSE1:GOTO1800
3300 GOSUB5000:U3=0:F2=0
3310 IFU3=AN+1THEN3360
3320 IFF2=U%(U3)THENU3=U3+1:GOTO3310
3340 LV=INT(100/U%(AN)*F2)
3350 UT=U3:GOSUB10:GOTO3310
3360 IFBOTHENR$="ROGER":GOTO1100
3362 PU=INT(-LOG((FE+.4)/(F2+.1))*LOG((F2+.1)*1E20)*F2*3.57526E-03*MA)
3363 PRINT"[147]"
3365 IFPU<1THENR$="KEINE PUNKTE !!!":GOTO1100
3366 R$=STR$(PU)+" PUNKTE"
3367 IFPU=1THENR$=" EINEN PUNKT"
3370 POKEL,12:POKES,4:SYSM:PRINT"DU HAST FUER"R$
3380 POKEL,19:POKES,24:SYSM:PRINT"GERECHNET !!!"
3390 PU=PU+20:IFPU>255THENPU=0
3400 POKE51233,0:POKE51054,PU
3410 FORX=1TO8:SYS51000:NEXT
3420 GOTO1100
3500 IFU%(AN)<300THENR$="NUR BEI MINDEST. 300 AUFG. IN DATEI!":GOTO1100
3505 INPUT"[147] WIEVIELE AUFGABEN";DU
3507 IFDU<1ORDU>9999THENR$="UNSINNIGE EINGABE":GOTO1100
3510 GOSUB5000:F2=0
3520 FORD1=1TODU
3530 U3=FNZ(AN)
3540 IFFNZ(99)>U%(U3)-U%(U3-1)THEN3530
3550 LV=INT(100/DU*(D1-1)):UT=U3:GOSUB10
3560 NEXT
3570 GOTO3360
3600 PRINT"[176][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][174]"SPC(23);
3610 PRINT"[194]NAME: [194]"SPC(23)"[173][195][195][195][195][195][195][195][195][195][195][195][195][195][195][195][189][145][145]":PRINTTAB(9);:N$=""
3620 GETQ$
3630 IFQ$=CHR$(13)THEN3670
3640 IFQ$=CHR$(20)ANDLEN(N$)>0THENPRINT"[157] [157]";:N$=LEFT$(N$,LEN(N$)-1)
3650 IFQ$<>""THENIFLEN(N$)<9ANDASC(Q$)>45ANDASC(Q$)<96THENPRINTQ$;:N$=N$+Q$
3660 GOTO3620
3670 IFLEN(N$)>0THENNA$=LEFT$(N$+SP$,9)
3680 R$="":RETURN
4000 BO=1:GOTO3300
4050 IFF2=0THENPRINT#4,"ARBEITSBLATT: "NA$:PRINT#4
4055 N$=STR$(F2)+")"
4057 IFX1>0THENN$=N$+LEFT$(STR$(X1)+SP$,5):GOTO4070
4060 N$=N$+E$
4070 N$=N$+X1$
4080 IFX2>0THENN$=N$+LEFT$(STR$(X2)+SP$,5):GOTO4100
4090 N$=N$+E$
4100 IFX4THENN$=N$+X2$:GOTO4120
4110 N$=N$+"="
4120 IFX3>0THENN$=N$+LEFT$(STR$(X3)+SP$,5):GOTO4140
4130 N$=N$+E$
4140 IFX4=0THENN$=N$+LEFT$(SP$,6):GOTO4180
4150 N$=N$+"="
4160 IFX4>0THENN$=N$+LEFT$(STR$(X4)+SP$,5):GOTO4180
4170 N$=N$+E$
4180 N$=LEFT$(N$+SP$,50)+"ERG:"+STR$(ER)
4190 F2=F2+1:PRINT#4,N$:X4=0:RETURN
4500 BO=1:GOTO3500
5000 PRINT"[144]":POKE53280,5:POKE53281,7:PRINTCHR$(142)CHR$(147);
5010 PRINT"[149]"SP$;
5020 PRINT" [144][146][207]";:FORZ=1TO23:PRINT"[183]";:NEXT
5030 PRINT"[208][149] [144][146][165] RECHNUNGEN . KLASSE [170][149] ";
5040 PRINT" [144][146][204]";:FORZ=1TO23:PRINT"[175]";:NEXT
5050 PRINT"[186][149] "SP$""SP$SP$;
5080 PRINT""
5110 PRINT""SP$;
5120 PRINT" [146]"SPC(12)" [146]"SPC(15)" [146]"SPC(9)" ";
5130 PRINT" [146] [144]FEHLER: [146] [144]AUFGABEN: [146]"SPC(9)" ";
5140 PRINT" [146]"SPC(12)" [146]"SPC(15)" [146]"SPC(9)" "SP$;
5160 PRINT"[146]"SPC(19)" "
5170 PRINTSPC(19)" "
5180 PRINTSPC(19)" "
5190 PRINT""SP$;
5200 PRINT"[146]"SPC(17)" "
5210 PRINT" [144]NAME:"SPC(11)" "
5220 PRINTSPC(17)" [146]"SPC(6)" "
5230 PRINT" [146]"SPC(6)" [146] "
5240 PRINT" [144]LEVEL :"SPC(7)" [146]"SPC(6)" "
5250 PRINT" [146][144]";
5260 RETURN
6500 DATA"E + E = E[146]","E - E = E[146]","E + E[146] = E","E - E[146] = E"
6505 DATA"E + E = ZE[146]","ZE - E = E[146]"
6510 DATA"Z0 + Z0[146] = Z0","Z0 - Z0[146] = Z0","ZE + E = ZE[146]","ZE - E = ZE[146]"
6520 DATA"E[146] + ZE = ZE","ZE - E[146] = ZE","ZE + ZE = ZE[146]","ZE - ZE = ZE[146]"
6530 DATA"ZE[146] + ZE[146] = ZE","ZE[146] - ZE[146] = ZE","E * 10 = ZE[146]","E * 5 = ZE[146]"
6540 DATA"E * 2 = ZE[146]","E * 4 = ZE[146]","E * 8 = ZE[146]","ZE : 10 = ZE[146]"
6550 DATA"ZE : 5 = ZE[146]","ZE : 2 = ZE[146]","ZE : 4 = ZE[146]","ZE : 8 = ZE[146]"
6560 DATA"10 * E[146] + E[146] = ZE[146]","5 * E[146] + E[146] = ZE[146]","4 * E[146] + E[146] = ZE[146]"
6570 DATA"2 * E[146] + E[146] = ZE[146]","8 * E[146] + E[146] = ZE[146]"
6580 DATA"E[146] * 10,5,4,2,8 - E[146] = ZE[146]","E * 3 = ZE[146]","E * 6 = ZE[146]"
6590 DATA"E * 9 = ZE[146]","E * 7 = ZE[146]","ZE[146] : 3,6,7,9 = ZE[146]"
6600 DATA"HZE[146] + ZE[146] = HZE[146]","HZE[146] - ZE[146] = HZE[146]","ZE + ZE + ZE = HZE[146]"
6610 DATA"HZE - ZE - ZE = HZE[146]","ZE[146] * E[146] = HZE[146]","HZE[146] : E[146] = ZE[146]"
6620 DATA"E[146] * E[146] + ZE[146] = HZE[146]","HZE[146] - HZE[146] - HZE[146] = HZE[146]"
6630 DATA"100 BIS 199[146] * 2 BIS 5[146] = HZE[146]","E[146] * E[146] +- HZE[146] = HZE[146]"
6640 DATA"E[146] ^ 2,3[146] = HZE[146]","11 * 10 BIS 18 = HZE[146]","11 * ZE = HZE[146]"
6650 DATA,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
9000 X1=FNZ(9):X2=FNZ(9):ER=X1+X2
9002 IFER>9THEN9000
9004 X3=-1:X1$="+"
9006 GOTO500
9010 X1=FNZ(9):X2=FNZ(9):ER=X1-X2
9012 IFER<1THEN9010
9014 X3=-1:X1$="-"
9016 GOTO500
9020 X1=FNZ(9):ER=FNZ(9):X3=X1+ER
9022 IFX3>9THEN9020
9024 X2=-1:X1$="+"
9026 GOTO500
9030 X1=FNZ(9):ER=FNZ(9):X3=X1-ER
9032 IFX3<1THEN9030
9034 X2=-1:X1$="-"
9036 GOTO500
9040 X1=FNZ(9):X2=FNZ(9):ER=X1+X2
9042 IFER<10THEN9040
9046 GOTO9004
9050 ER=FNZ(9):X3=FNZ(9):X1=ER+X3
9052 IFX1<10THEN9050
9056 GOTO9034
9060 X1=FNZ(9)*10:ER=FNZ(9)*10:X3=ER+X1
9062 IFX3>100THEN9060
9066 GOTO9024
9070 ER=FNZ(9)*10:X3=FNZ(9)*10:X1=ER+X3
9072 IFX1>100THEN9070
9076 GOTO9034
9080 X1=FNZ(82)+9:X2=FNZ(9):ER=X1+X2
9086 GOTO9004
9090 X1=FNZ(91)+9:X2=FNZ(9):ER=X1-X2
9096 GOTO9014
9100 ER=FNZ(9):X2=FNZ(82)+9:X3=ER+X2
9104 X1=-1:X1$="+"
9106 GOTO500
9110 X1=FNZ(91)+9:ER=FNZ(9):X3=X1-ER
9116 GOTO9034
9120 X1=FNZ(81)+9:X2=FNZ(81)+9:ER=X1+X2
9122 IFER>100THEN9120
9126 GOTO9004
9130 X2=FNZ(81)+9:ER=FNZ(81)+9:X1=X2+ER
9132 IFX1>100THEN9130
9136 GOTO9014
9140 X1=FNZ(81)+9:X2=FNZ(81)+9:X3=X1+X2
9142 IFX3>100THEN9140
9144 IFFNZ(2)=1THENER=X1:GOTO9104
9146 ER=X2:GOTO9024
9150 X2=FNZ(81)+9:X3=FNZ(81)+9:X1=X2+X3
9152 IFX1>100THEN9150
9154 IFFNZ(2)=1THENER=X1:X1$="-":X1=-1:GOTO500
9156 ER=X2:GOTO9034
9160 X2=10
9165 X3=-1:X1$="*":X1=FNZ(9):ER=X1*X2
9166 GOTO500
9170 X2=5:GOTO9165
9180 X2=2:GOTO9165
9190 X2=4:GOTO9165
9200 X2=8:GOTO9165
9210 X2=10
9215 ER=FNZ(9):X1=ER*X2:X3=-1:X1$=":"
9216 GOTO500
9220 X2=5:GOTO9215
9230 X2=2:GOTO9215
9240 X2=4:GOTO9215
9250 X2=8:GOTO9215
9260 X1=10
9262 X2=FNZ(9):X3=FNZ(9):X4=X1*X2+X3:Z=FNZ(3)
9264 IFZ=1THENER=X2:X2=-1
9265 IFZ=2THENER=X3:X3=-1
9266 IFZ=3THENER=X4:X4=-1
9268 X1$="*":X2$="+":GOTO500
9270 X1=5:GOTO9262
9280 X1=4:GOTO9262
9290 X1=2:GOTO9262
9300 X1=8:GOTO9262
9310 X2=FNZ(10):IFX2=1ORX2=3ORX2=6ORX2=7ORX2=9THEN9310
9312 X1=X2*FNZ(9):X3=FNZ(9)
9314 X4=X1/X2-X3:IFX4<1THEN9312
9315 Z=FNZ(3):IFZ=1THENER=X1:X1=-1
9316 IFZ=2THENER=X3:X3=-1
9317 IFZ=3THENER=X4:X4=-1
9318 X1$=":":X2$="-":GOTO500
9320 X2=3:GOTO9165
9330 X2=6:GOTO9165
9340 X2=9:GOTO9165
9350 X2=7:GOTO9165
9360 X2=FNZ(9):IFNOT(X2=3ORX2=6ORX2=7ORX2=9)THEN9360
9362 X3=FNZ(9):X1=X2*X3:X1$=":"
9365 IFFNZ(2)=1THENER=X1:X1=-1:GOTO500
9366 ER=X3:X3=-1:GOTO500
9370 X1=FNZ(800)+99:X2=FNZ(99):X3=X1+X2
9371 X1$="+"
9374 Z=FNZ(3):IFZ=1THENER=X1:X1=-1
9375 IFZ=2THENER=X2:X2=-1
9376 IFZ=3THENER=X3:X3=-1
9377 GOTO500
9380 X1=FNZ(900)+99:X2=FNZ(99):X3=X1-X2
9381 X1$="-":GOTO9374
9390 X1=FNZ(99):X2=FNZ(99):X3=FNZ(99)
9395 X4=-1:ER=X1+X2+X3
9396 X1$="+":X2$="+":GOTO500
9400 X2=FNZ(99):X3=FNZ(99):ER=FNZ(99)
9405 X4=-1:X1=ER+X2+X3
9406 X1$="-":X2$="-":GOTO500
9410 X1=FNZ(89)+10:X2=FNZ(8)+1:X3=X1*X2:X1$="*"
9412 GOTO9374
9420 X2=FNZ(8)+1:X3=FNZ(89)+10:X1=X2*X3:X1$=":"
9422 GOTO9374
9430 X1=FNZ(8)+1:X2=FNZ(8)+1:X3=FNZ(100)
9431 X4=X1*X2+X3:X1$="*":X2$="+"
9432 Z=FNZ(4)
9433 IFZ=1THENER=X1:X1=-1
9434 IFZ=2THENER=X2:X2=-1
9435 IFZ=3THENER=X3:X3=-1
9436 IFZ=4THENER=X4:X4=-1
9437 GOTO500
9440 X1=FNZ(999):X2=FNZ(999):X3=FNZ(999)
9442 X4=X1-X2+X3:X1$="-":X2$="+"
9444 IFX4>999ORX4<1THEN9440
9446 GOTO9432
9450 X1=FNZ(99)+100:X2=FNZ(4)+1:X3=X1*X2
9455 X1$="*":GOTO9374
9460 X1=FNZ(8)+1:X2=FNZ(8)+1:X3=FNZ(999):X1$="*"
9462 IFFNZ(2)=1THENX4=X1*X2-X3:X2$="-":GOTO9466
9464 X4=X1*X2+X3:X2$="+"
9466 IFX4<1ORX4>999THEN9460
9468 GOTO9432
9470 X1=FNZ(8)+1:X2=FNZ(2)+1:X3=INT(X1^X2)
9472 X1$="^":GOTO9374
9480 X2=FNZ(8)+10
9482 X3=-1:X1$="*":X1=11:ER=X1*X2
9484 GOTO500
9490 X2=FNZ(90):GOTO9482