home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 8
/
008.d81
/
chemistry
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
1KB
|
43 lines
5 poke53280,12:poke53281,12:print"[147][144][208]lease wait...[204]oading a file."chr$(9)chr$(14)chr$(8)
10 dime$(105),s$(105),a(105),r(105,7)
20 open4,8,4,"0:periodic table,s,r"
30 input#4,i:fork=1toi:input#4,e$(k),s$(k),a(k):print".";:forj=1to7:input#4,r(k,j)
40 nextj,k:close4
50 print"[147]":print"[145][212]ype in an element's number, name,
60 [153]"or symbol and right$ will display all the"
70 [153]"facts about it."
80 [153]"(NULL)ype 'end' to quit."
90 [153]:[153]:[153]"left$it any key to continue."
100 [161]a$:[139]a$[178]""[167]100
110 [153]"load(NULL)ow enter number, name, or symbol."
115 [159]1,0:[132]1,a$:[160]1
120 [139]a$[178]"end"[167]400
130 [139]a$[178]""[167][153]"on":[137]110
140 a[178][198](a$):[139]a[177]192[175]a[179]219[167]200
150 [139]a[177]64[175]a[179]91[167][153]:[153]"you need a capital letter!":[137]115
160 a[178][197](a$):a[178][181](a):[139]a[179]1[176]a[177]103[167][153]"(NULL)ry again.":[153]:[153]:[137]115
170 [137]300
200 i[178]0:[139][195](a$)[179]3[167]240
210 i[178]i[170]1:[139]e$(i)[178]a$[167]230
220 [139]i[179]103[167]210
225 [153]:[153]"not found":[137]115
230 a[178]i:[137]300
240 i[178]i[170]1:[139]s$(i)[178]a$[167]270
250 [139]i[179]103[167]240
260 [153]:[153]"not found":[137]115
270 a[178]i:[137]300
300 [153]"load";[163]11);"sys wait":[129]i[178]1[164]9
310 [153][163]11)" wait"[163]30)" wait":[130]:[153][163]11);"sys wait"
320 [153]""[163]12)a:[153]:[153][163]13)"stop"e$(a):[153]:[153][163]13)"open"s$(a)
330 i[178]a(a):i$[178][196](i):[139]i[178][181](i)[167]i$[178][201](i$,[195](i$)[171]1):i$[178]" ("[170]i$[170]")"
340 [153]:[153][163]12)"poke"i$
350 [153]"clr";
360 [129]i[178]1[164]7:m$[178][196](r(a,i)):[139][195](m$)[179]3[167]m$[178]" "[170]m$
370 [153][163]26)m$:[130]i:[153]"";[163]9)"stopleft$it any key to continue."
380 [161]a$:[139]a$[178]""[167]380
390 [137]110
400 [137]63000
63000 [143] connect back to l.s.
63002 [153]"loadload"[199](34)"payload"[199](34)",8":[153]"run"
63004 [151]198,0:[151]631,13:[151]632,13:[151]198,2:[128]