[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Reply to WRAP Command
- Subject: Reply to WRAP Command
- From: Johnny Ravela <johnny@RMF41.USACE.ARMY.MIL>
- Date: Tue, 12 Mar 1996 14:39:25 -0600
- Default-Recipient-Options: report nonreceipt, no reply, return content
- Delivery-Options: allow alternate recipients, return content, allow conversion, mask P1 recipients
- Importance: normal
- In-Reply-To: Your message of "Tue, 12 Mar 96 11:16:16 PST" <9602128266.AA826658283@SMTPGwy.microsim.com>
- Priority: non-urgent
- Sensitivity: personal
> I am trying to print two multiline text fields side by side on a report. I am
> using the statements:
>
> print &id (+1,40)
> print &desc (0,50) wrap 30 5 ON=<13> STRIP=<10>
> print &res (0,85) wrap 30 5 ON=<13> STRIP=<10>
>
Here is the fix to your problem. And anybody who wants to see a simple
sqr program.
! !!!!!!!!!!!!!!!!!!!
This is an SQR program
! !!!!!!!!!!!!!!!!!!!
begin-report
do 001-setup-stuff
end-report
begin-procedure 001-setup-stuff
let $id = 'JOHNNY1234'
let $desc = 'The first multiline field prints fine, but the next
one may not print well.'
let $res = 'Looks like the second multiline field prints fine as well.'
print $id (+1,7)
print $desc (,20) wrap 15 6 ON = <13> STRIP = <10> keep-top
print $res (,50) wrap 15 6 ON = <13> STRIP = <10> keep-top
! keep-top retains the current line position except if a page break
! occurs, in which case line 1 is used as the current line.
new-page ! gotta flush............
end-procedure !
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Here is the listing file (.lis)
! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!
JOHNNY1234 The first Looks like the
multiline field second
prints fine, multiline field
but the next prints fine as
one may not well.
print well.