home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-10-04 | 724 b | 24 lines |
- ' NOTE: X and Y refer to the Text Coordinates
- ' P refers to the pause between each letter
- ' A$ can be any message you like.
-
- Screen Open 0,320,256,8,Lowres
- Paper 0 : Curs Off : Hide : Cls 0
- _TYPEWRITER[100,100,5,"Buy FontX Ver2.0"]
- _TYPEWRITER[60,150,5,"Consult help file for info"]
- Procedure _TYPEWRITER[X,Y,P,A$]
- Gr Writing 0
- ' *** Number of first Letter to be printed ***
- A=1
- ' *** Set up Length of Text in Characters ***
- For B=0 To Len(A$)
- ' *** Locate and define String ***
- Text X,Y,Left$(A$,A)
- ' *** Slow down text ***
- Wait P
- Inc A
- Next B
- End Proc
-
- ' *** Typewriter emulates an effect much admired ? ***
- ' *** in coding circles. ***