I need proof of this...

fernando.olmos at hpa.com.au fernando.olmos at hpa.com.au
Thu Sep 22 20:06:53 CDT 2005


I cannot remember why I do it this way, but I was wondering if someone
out there may be able to help me remember. 

For some reason, I write my IF statements with the literal FIRST before
the item been tested ... 

i.e.:   if 0 = t_field1 ... 

Some people write it as ... 

        if t_field1 = 0 ... 

Now I would prefer to do it the 2nd way, but I believe there are some
cases in Powerhouse where it gets confused if you do it like in the 2nd
method. I think if you tried ...

        if index(T_field, "string") > 0 

it's not the same as ... 
        if 0 < index (t_field, "string") 

Now I know that sounds ridiculous, but I did come across problems with
this years ago, but I don't remember exactly what it was. The point now
is that I have got stuck into a habit with the 1st method mentioned
above.

Cheers 

Fernando Olmos 
M.I.S. 

HPA
Direct:  03 9217 5411
Mobile: 0410 382 857
Fax:     03 9217 5716 

 <file:///H:/Appdata/Microsoft/Signatures/www.hpa.com.au> www.hpa.com.au



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20050923/f72e7138/attachment.htm


More information about the powerh-l mailing list