[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
RE: [sqr-users] wrap - bold in middle
I do a lot of bolding and wrapping on our open enrollment forms. As you
stated, wrap counts the number of characters and wraps where you tell it
to. It does not know the difference between control characters and
printing characters. You have to adjust your wrap parameters to get it
to wrap the way you want it to.
Rod Wright
Senior Applications Specialist
The Rouse Company
410-992-6307
-----Original Message-----
From: Ben Anderson [mailto:pegandersonbd1@hotmail.com]
Sent: Monday, April 14, 2003 8:41 AM
To: sqr-users@sqrug.org
Subject: [sqr-users] wrap - bold in middle
Hello all,
I want to print this:
This <b>is</b> a test. (I want "is" to be bold)
I tried this:
<code>
encode '<27>(s3B' into $bold
enocde '<27>(s0B' into $unbold
let $line1 = 'This ' || $bold || 'is ' || $unbold || 'a test.'
print $line1 (1,1,0) wrap 17 2
</code>
And here's my problem. The wrap logic is counting the control
characters
when breaking to the next line. i.e. this statement will show up on 2
lines
instead of 1. Anyone know how to do this?
Thanks,
Ben Anderson
_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users