[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Help on WRAP
There is the "keep-top" function that you could use, like:
begin-select
...
print string1 (+1,27) wrap 15 5 keep-top
print 999.99 (,54) edit b99.99
print 999.99 (,60) edit b99.99
...
end-select
That ought to work.
B
The Programmer formerly known as Bob
Mediware Information Systems Inc.
(913) 307-1045
Bob.Helm@Mediware.com <mailto:Bob.Helm@Mediware.com>
-----Original Message-----
From: jose varghese [mailto:jose_v@ROCKETMAIL.COM]
Sent: Tuesday, August 14, 2001 12:51 PM
To: SQR-USERS@list.iex.net
Subject: Help on WRAP
HI ALL,
Need your help,
begin-select
...
print string1 (+1,27) wrap 15 5
print 999.99 (,54) edit b99.99
print 999.99 (,60) edit b99.99
...
end-select
if String1 has a value 'SSSSSSSSSSSSSSSSSSSSSS' prints
me an output like this.
101 SSSSSSSSSSSSSSS
SSSSSSS 999.99 999.99
102 SSSSSSSSSSSSSSS
SSSSSSS 999.99 999.99
Does anyone know how of any simple functions like
position or ... instead of a lengthy code to print the
999.99 & 999.99 along the first line like ...
101 SSSSSSSSSSSSSSS 999.99 999.99
SSSSSSS
102 SSSSSSSSSSSSSSS 999.99 999.99
SSSSSSS
String1 may have >15 or <15 characters.
Thanks,
Jose.
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/