FW: Centering lines on reports...

John Esak john at valar.com
Mon Jun 21 04:30:01 PDT 2004



> -----Original Message-----
> From: George Simon [mailto:flowersoft at compuserve.com]
> Sent: Monday, June 21, 2004 6:12 AM
> To: John Esak; filePro mailing list
> Subject: Re: Centering lines on reports...
>
>
>           Souldn't that be
>            If:
>       Then: mid(aa,"80"-len(ab)/"2",len(ab))=ab
>           John?

Hmmm, odd, that's twice now... you and Mark could have typed the code into a
test file and tested it with the @keyT faster than it probably took you to
cut and paste your response into an email and mail it. and if you're
checking for errors like this... shouldn't it be _shouldn't_ ??  :-) :-)
Just kidding George, but your question is pretty much _exactly_ why I wrote
the thing as a 15 second snippet you could try in IUA... becuase it _does_
sort of appear wrong at first glance, doesn't it.

Perhaps, if I put a couple unneccessay parns in..


             Then: mid(aa,"40" - (len(ab)/"2"),len(ab))=ab

it would be more readable... but it is just following the standard
convention for precedence of math operations.

John




More information about the Filepro-list mailing list