home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Unsorted BBS Collection
/
thegreatunsorted.tar
/
thegreatunsorted
/
programming
/
asm_programming
/
LENZSCRL.ZIP
/
CONVERT.BAS
< prev
next >
Wrap
BASIC Source File
|
1993-10-13
|
387b
|
14 lines
10 S$="123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ()',-.!:? "
20 OPEN "text" FOR INPUT AS #1
30 OPEN "message" FOR OUTPUT AS #2
40 PRINT #2,"message label word"
50 WHILE NOT(EOF(1))
60 LINE INPUT #1,A$
70 FOR I = 1 TO LEN(A$)
80 PRINT #2,CHR$(9);"dw "+STR$(INSTR(S$,MID$(A$,I,1)))+"*font_width*font_height + offset font_table"
90 NEXT
100 WEND
110 CLOSE #1
120 CLOSE #2
130 SYSTEM