home *** CD-ROM | disk | FTP | other *** search
- ' +----------------------------------------------------------------------+
- ' | |
- ' | PBClone Copyright (c) 1990-1993 Thomas G. Hanlin III |
- ' | |
- ' +----------------------------------------------------------------------+
-
- DECLARE SUB XQPrint (St$, BYVAL Row%, BYVAL Column%, BYVAL VAttr%, BYVAL Page%, BYVAL Fast%)
-
- SUB PrintBox (St$, TopRow%, LeftCol%, BottomRow%, RightCol%, VAttr%, Page%, Fast%)
-
- Cols% = RightCol% - LeftCol% + 1
- IF Cols% < 1 OR (BottomRow% - TopRow% < 0) OR LEN(St$) = 0 THEN
- EXIT SUB
- END IF
-
- IF LEN(St$) = 1 THEN
- t$ = STRING$(Cols%, St$)
- ELSE
- DO UNTIL LEN(t$) >= Cols%
- t$ = t$ + St$
- LOOP
- t$ = LEFT$(t$, Cols%)
- END IF
-
- FOR Row% = TopRow% TO BottomRow%
- XQPrint t$, Row%, LeftCol%, VAttr%, Page%, Fast%
- NEXT
-
- END SUB
-