TIP: Click on subject to list as thread! ANSI
echo: power_bas
to: ALL
from: TERRY BROWN
date: 1998-04-01 11:23:00
subject: Re: !!!HELP!!!! --PRINT P

From: "Terry Brown" 
Subject: Re: !!!HELP!!!! --PRINT PROBLEM--
 
 
Gerard Bok wrote in message ...
>On Wed, 18 Mar 1998 21:47:19 -0800, "Armand A. Medeiros"
> wrote:
>
>>The following code sends TWO (2) CRLF strings to my file and I don't
>>know why:
>>CRLF$ = CHR$(13,10)
>>.
>It shouldn't. And with my PB 3.2 it doesn't either.
>Are you shure that PB actually outputs 2 CRLF's ?
>My guess is: your printer gets confused. Ususally you can instruct a
>printer how to handle chr 10 and 13  (expand or filter it).
>Try again defining CRLF$=CHR$(10,13). That may help.
>
>>.
>>PRINT #1, "TEST";
>>PRINT #1, CRLF$;
>>
>>However, the following code works properly:
>>
>>PRINT #1, "TEST"
>
>Regards,
>Gerard Bok
 
Hi Armand, Gerard, and all,
    YES it will do !
To show you why do this:-
 
PRINT "HERE IS A LINE OF TEXT WITH A CRLF"
PRINT "HERE IS A LINE OF TEXT WITHOUT CRLF";
 
It's the magic   ;   {semi colon} on the end that suppresses the CRLF
The PRINT#1,"TEST" will add the crlf
PRINT#1,"TEST";       won't
Hope that helps.....
By the way a  , (coma) indents the next item by a TAB space { or there
abouts } handy for formatting text.
 
BFN
Terry
MD
Fleetwing Developments Ltd
 
 
 
*** QwkNews (tm) v2.1
 * [TN71] Toast House Import
--- GEcho 1.20/Pro
---------------
* Origin: Toast House Remote (1:100/561)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.