home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Simtel MSDOS 1992 June
/
SIMTEL_0692.cdr
/
msdos
/
pcmag
/
vol6n17.arc
/
QPRINT.BAS
< prev
next >
Wrap
BASIC Source File
|
1987-09-08
|
725b
|
14 lines
10 'QPrint.Bas - quick print demonstration
20 '
30 TEST$ = "This is a test message." 'define the string to print
40 COLR% = 112 'color 112 is black on white
50 QPRINT = 0 'define before dimensioning array
60 DIM ARRAY%(51) 'set aside room to hold the code
70 '
80 DEF SEG 'insure BASIC's default data segment
90 QPRINT = VARPTR(ARRAY%(0)) 'find where the array starts
100 BLOAD "QPrint.Bin", QPRINT 'load assembler code into the array
110 '
120 LOCATE 10,1 'specify where to print it
130 CALL QPRINT(TEST$, COLR%) 'call QPrint