home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
226-250
/
apd244
/
progs
/
slideshower.amos
/
slideshower.amosSourceCode
Wrap
AMOS Source Code
|
1990-12-28
|
622b
|
24 lines
Screen Open 0,320,256,64,Lowres
Flash Off : Hide : Paper 0 : Pen 2 : Cls
Curs Off
Cls
If Exist("DF0:Music/Music.abk")=0 Then Goto PICLOAD
Load "df0:music/music.abk" : Music 1
PICLOAD:
PIC=1
PIC$=Str$(PIC)
Do
If Exist(PIC$)=0 Then Goto NOFIND
Load Iff PIC$
PIC=PIC+1
PIC$=Str$(PIC)
Wait Key
Fade 5 : Wait 75 : Cls 0
Loop
NOFIND:
Screen Open 0,320,200,4,Lowres
Flash Off : Curs Off : Paper 0 : Pen 2 : Cls
Home : Centre "SLIDESHOWER was written by CHRIS HURST."
Locate 0,2 : Print "The program was written using AMOS Basic"
Locate 0,5 : Centre "Okay. We've ran out of Pics so BYE!!!"
Wait 150 : Fade 5 : Wait 75 : End