home *** CD-ROM | disk | FTP | other *** search
- ' P.BAS
- ' Prints a text string (t$) at the specified r% and c% with
- ' type% 1 = normal, type% 2 = high intensity, type% 3 = reverse video
-
- SUB P(t$,r%,c%,type%) STATIC
- pg% = 0
- f% = 7: b% = 0: CALL CALCATTR(f%, b%, at%) 'normal attribute
- f% = 10: CALL CALCATTR(f%, b%, hat%) ' high intensity
- f% = 8: b% = 7: CALL CALCATTR(f%, b%, rat%) 'reverse video attribute
-
- IF type% = 1 THEN
- CALL XQPRINTD(t$,r%,c%,at%,pg%)
- ELSEIF type% = 2 THEN
- CALL XQPRINTD(t$,r%,c%,hat%,pg%)
- ELSEIF type% = 3 THEN
- CALL XQPRINTD(t$,r%,c%,rat%,pg%)
- END IF
- END SUB
-
-