home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AMOS PD CD
/
amospdcd.iso
/
451-475
/
apd453
/
display_fonts.amos
/
display_fonts.amosSourceCode
Wrap
AMOS Source Code
|
1993-01-08
|
640b
|
33 lines
'
' Fonts Display
' By JC
' Dated : 24/8/91
'
' Instructions
'
' Keys :
'
' + Goto next font
' - Goto previous font
' d Display Font
' q Quit
'
G0TFONT
Procedure G0TFONT
Screen Open 0,320,256,2,Lowres
Get Fonts
FO=1 : F$=Font$(FO) : Print F$ : Curs Off
Do
A$=Inkey$
If A$="-" and FO>1 Then Dec FO : Gosub CHECK
If A$="+" Then Inc FO : Gosub CHECK
If A$="d" Then Set Font FO : Cls : Text 0,50,F$ : Wait Key : Cls
If A$="q" Then Exit
Loop
Pop Proc
CHECK:
Cls : F$=Font$(FO)
If F$="" Then Dec FO
F$=Font$(FO) : Print F$ : Curs Off
Return
End Proc