home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Zodiac Super OZ
/
MEDIADEPOT.ISO
/
FILES
/
13
/
N_B_V203.ZIP
/
TPRNTCLR.DMO
< prev
next >
Wrap
Text File
|
1996-07-04
|
2KB
|
35 lines
$if 0
┌──────────────────────────╖ PowerBASIC v3.20
┌──┤ DASoft ╟──────────────────────┬──────────────────╖
│ ├──────────────────────────╢ Copyright 1995 │ DATE: 1995-10-01 ╟─╖
│ │ FILE NAME TPRNTCLR.DMO ║ by ╘════════════════─ ║ ║
│ │ ║ Don Schullian, Jr. ║ ║
│ ╘══════════════════════════╝ ║ ║
│ A license is hereby granted to the holder to use this source code in ║ ║
│ any program, commercial or otherwise, without receiving the express ║ ║
│ permission of the copyright holder and without paying any royalties, ║ ║
│ as long as this code is not distributed in any compilable format. ║ ║
│ IE: source code files, PowerBASIC Unit files, and printed listings ║ ║
╘═╤═════════════════════════════════════════════════════════════════════╝ ║
│ .................................... ║
╘═══════════════════════════════════════════════════════════════════════╝
$endif
$INCLUDE "DAS-NBT1.INC"
COLOR 7, 0
CLS
? "┌───────────────────────────────────────────────────────────────────────
? "│ TprintCLEAR ( Row?, Col?, Cols?, V$, Attr? )
? "├─────────────────────────────────────────────────────────────────────────
? "│ Uses all the tricks of Tprint then adds the ability to ensure that any
? "│ columns to the right of V$ are filled with spaces. This makes it the perfect
? "│ choice for reprinting data screens, etc.
? "├─────────────────────────────────────────────────────────────────────────────
? "│ The 'trigger' to change attributes is CHR$(17) or ^PQ then CHR$(Attr?)
? "│ The test below changes from Attr? = 30 to Attr? = 112 ( ^PQp )
? "└─────────────────────────────────────────────────────────────────────────────
Tprint 11, 1, STRING$( 400, 177 ), 7
TprintCLEAR 13, 21, 40, "hello pworld", 30