Left-justify (was Re: Export fixed length)
scooter6 at gmail.com
scooter6 at gmail.com
Thu Aug 11 08:07:56 PDT 2011
DDW? lol
With lj edit added as you stated lj [{!" "!}] {*}
If:
Then: aa(17,lj)=2;ach(5)=aa <-- where field 2 is where I want to apply
the edit
This did not left justify the field
As well, doing the 0rjdot edit didn't change the field to zero-filled
right justify amount
If:
Then: ab(10,0rjdot)=18;ach(6)=ab
This is on SCO OpenServer 5.0.5 with filePro 5.6.07R4 FWIW......
Scott
On Thu, Aug 11, 2011 at 10:50 AM, Kenneth Brody <KandLBrody at gmail.com>wrote:
> On 8/11/2011 10:43 AM, scooter6 at gmail.com wrote:
> [...]
>
> Anyway, I tried using the edit as you have it
>> lj [{!" "!}] {*}
>>
>> But that didn't work either?? So I did the suggestion you gave in
>> processing and that did the trick. Not sure why the edit didn't work
>> though
>>
>
> DDW.
>
> And, show us the processing that "didn't work'.
>
> [...]
>
> One other thing I need to know that I don't see - is there an edit to
>> remove decimal from a number?
>> I have several (8,.2) fields that obviously show as 100.35, 16.34,
>> etc.......However, for my file, I need to right justify, zero fill WITHOUT
>> the
>> decimal. I have 0RJ working fine, but how do I remove the decimal??
>>
>
> Just add "remove the decimal" to the edit:
>
> 0rjdot \0\ { !"."! | * }
>
> [...]
>
> --
> Kenneth Brody
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20110811/4efb9d88/attachment.html
More information about the Filepro-list
mailing list