home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1989 May
/
1989-05.d64
/
show.create
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
3KB
|
84 lines
10 rem copyright 1989 compute! publications, inc. - all rights reserved
20 dimfo$(13),f$(50),t(50),m$(50)
30 fori=1to13:readfo$(i):next:poke53280,.:poke53281,.:goto170
40 input"[147]how many pictures";p
50 ifp<1then170
60 z=.:input"display time (1-59 seconds)";tl:iftl<1ortl>59thentl=10
70 fori=1top:print"[147]#[159]"i"picture name";:inputf$(i)
80 iff$(i)=""orlen(f$(i))>16then70
90 print""tab(13)"[153]picture format?"
100 print"[150]":forj=1to13:printchr$(64+j)". "fo$(j):next
110 geta$:ifa$=""then110
120 k=asc(a$):ifk<65ork>77then110
130 t(i)=k-64:print"[154] message to be displayed before viewing"
140 inputm$(i)
150 ifm$(i)=""thenm$(i)="now loading..."
160 z=z+1:next
170 print"[147]"chr$(142)tab(14)"[158][213][192][192][157][157][157][221] uper[157][157][157][157][157][157][157][158][202][192][201][157]";
180 print"[221]lideshow[157][157][157][157][157][157][157][157][157][157][157][158][192][192][203]"
190 printtab(10)"1. create slideshow":printtab(10)"2. edit slideshow"
200 printtab(10)"3. save slideshow":printtab(10)"4. load slideshow"
210 printtab(10)"5. quit":printtab(10)"you have"z"pictures"
220 print""tab(10)"[159]make selection (1-5)"
230 print""tab(3)"copyright 1989 compute! publ., inc."
240 printtab(11)"all rights reserved[159]"
250 geta$:ifa$=""then250
260 ifa$<"1"ora$>"5"then250
270 onval(a$)goto40,360,280,460,510
280 rem save
290 h$="":input"[147]save as (filename)";h$:ifh$=""then170
300 iflen(h$)>16then290
310 open15,8,15,"s0:"+h$:print#15,"i0"
320 open1,8,2,"0:"+h$+",s,w":gosub750
330 print#1,p:print#1,tl
340 fori=1top:print#1,f$(i):print#1,t(i):print#1,m$(i):nexti
350 gosub750:close1:close15:goto170
355 rem edit
360 ifz=0then170
370 fori=1top
380 print"[147]#"i:print"picture name: "f$(i):print"pic format: "fo$(t(i))
390 print"message":printm$(i)
400 print"[158]1. change picture name":print"2. change picture format"
410 print"3. change message":print"4. next":print"5. quit"
420 geta$:ifa$=""then420
430 ifval(a$)<1orval(a$)>5then420
440 onval(a$)goto560,600,620,650,730
450 rem load
460 h$="":input"[147]load (filename)";h$:ifh$=""then170
470 iflen(h$)>16then460
480 open15,8,15:open1,8,2,"0:"+h$+",s,r":gosub750:input#1,p:input#1,tl
490 fori=1top:input#1,f$(i):input#1,t(i):input#1,m$(i):nexti
500 gosub750:close1:close15:z=p:goto170
510 rem quit
520 print"[147]"tab(7)"quit, are you sure? (y/n)"
530 geta$:ifa$="n"then170
540 ifa$="y"thenprint"[147]":end
550 goto530
560 print"picture name";:inputu$
570 ifu$=""then380
580 iflen(u$)>16thenprint"[145][145][145][145]":goto560
590 f$(i)=u$:goto380
600 t(i)=t(i)+1:ift(i)=14thent(i)=1
610 goto380
620 print"new message":inputv$:ifv$=""then380
630 iflen(v$)>40thenprint"[145][145][145][145][145][145]":goto620
640 m$(i)=v$:goto380
650 next
660 print"[147]"tab(7)"current display time is"tl
670 print""tab(7)"change time limit? (y/n)"
680 geta$:ifa$="n"then730
690 ifa$<>"y"then680
700 print"[147]time limit (1-59)";:inputlt:iflt=.then730
710 iflt>59then730
720 tl=lt
730 goto170
740 rem read error channel
750 input#15,en,em$,et,es:ifen=0thenreturn
760 print"disk error: "str$(en)" "em$str$(et)" "str$(es)" "
770 printtab(14)"press any key"
780 getk$:ifk$=""then780
790 close1:close15:goto170
800 datakoala,create with garfield,doodle,print shop screen magic,paint now!
810 dataart studio,advanced art studio,rainbow painter,paintbrush,vidcom
820 dataartist 64,blazing paddles,lores