@ATTACK - @PrintMode
Published By | Date | Version | Knowledge Level | Keywords |
---|---|---|---|---|
Sprezzatura Ltd | 01 OCT 1990 | 2.0+ | EXPERT | @PRINTMODE |
Used to tell the system whether to print the graphic representation of ASCII characters under 32 (@PRINTMODE = 0) or to treat them as control characters (@PRINTMODE = 1). Warning!! The PRINT command automatically generates a CRLF combination, hence the following code
@PRINTMODE = 0 PRINT CHAR(13)
Would actually show the graphic characters for a CHAR(13) a CHAR(13) and a CHAR(10). To avoid this the code above should be modded to read
@PRINTMODE = 0 PRINT CHAR(13) : @PRINTMODE = 1
Can be amended.
(Volume 2, Issue 5, Page 10)