[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Wrap...Keep-Top
- Subject: Wrap...Keep-Top
- From: Todd Becker <tbecker@CCCIS.COM>
- Date: Mon, 30 Aug 1999 18:02:42 -0500
Hi Everyone!
Using SQR 4.3.4, column positioning seems to work acceptably for
determining the starting position for a printed item, however, if a length
is specified, the proportions seem to change.
For example, lets say my page with is 75 units, as determined by
#sqr-max-columns.
The following is an explanation, using estimated values. I place a print
command for a text field using the following statement:
print $sText ( ,20, ) wrap 50 5
Here is a picture of how the output looks:
|---5--10--15--20--25--30--35--40--45--50--55--60--65--70--75|
| |
| dlkfjl sdkjf sldfjl sdfksl |
| ksl dfkjlsd kfjsldk fjsdlfk |
| sldh lshd lsh ido sldi. |
Although the wrap distance is calculated correctly for the page, the text
wraps extremely early.
If I modify my SQR statement to look like this:
print $sText ( ,20, ) wrap 100 5
Here is a picture of how the ouput changes:
|---5--10--15--20--25--30--35--40--45--50--55--60--65--70--75|
| |
| dlkfjl sdkjf sldfjl sdfksl ksl dfkjlsd kfjs |
| |
| ldk fjsdlfk sldh lshd lsh ido sldi. |
Although the wrap distance expands far beyond the edge of the page, the
text wraps appropriately. However, because the wrap value is so large,
there is an explicit line feed which creates a blank line in the output.
Any suggestions would be greatly appreciated.
TIA,
Todd Becker