home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
501-525
/
apd515
/
amos-programs
/
bank-type.amos
/
bank-type.amosSourceCode
next >
Wrap
AMOS Source Code
|
1991-07-10
|
1KB
|
33 lines
Rem ***************************
Rem * *
Rem * Bank Types *
Rem * *
Rem * by Murray Jones *
Rem * *
Rem * Taken from the *
Rem * Twilight Zone program *
Rem * *
Rem ***************************
Rem
BEGIN:
F$=Fsel$("","","SELECT A FILE","")
If F$="" Then End
Open In 1,F$
D$=Input$(1,30)
Close 1
If Left$(D$,4)="AmSp" Then Print "Sprites" : Goto STO
If Instr(D$,"Samples")>0 Then Print "samples" : Goto STO
If Instr(D$,"Amal")>0 Then Print "Amal" : Goto STO
If Instr(D$,"Music")>0 Then Print "music" : Goto STO
If Instr(D$,"Datas")>0 Then Print "Data" : Goto STO
If Instr(D$,"Work")>0 Then Print "Work" : Goto STO
If Left$(D$,4)="AmIc" Then Print "Icons" : Goto STO
If Instr(D$,"Menu")>0 Then Print "Menu" : Goto STO
If Instr(D$,"Pac.Pic")>0 Then Print "Pac.Pic" : Goto STO
Print "Unknown"
On Error Goto TUTUT
STO:
Wait Key
Goto BEGIN
TUTUT:
Resume Next