[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Flat file creation problem -Reply
- Subject: Flat file creation problem -Reply
- From: Jim Hardesty <jhardest@LMBERRY.COM>
- Date: Fri, 4 Jun 1999 16:01:14 -0400
On page 11 of the SQR3 book... :) (just kidding)
There is a variable #current-column which gives the current column number.
You could end every line with something like:
let #end_len = 150 - #current-Column + 1
print ' ' (0,#end_len)
Although I would tend to prefer to use a variable $Print_Line and concatonate
the
output into the one variable, rpad it to the correct length and print it.
Let $Print_Line = $Emplid
Let $Print_Line = $Print_Line || ' '
Let $Print_Line = $Print_Line || $Empl_Shoe_Size
Let $Print_Line = Rpad($Print_Line,150,' ')
jim