I need proof of this...
Richard Sheehan
sheerich at isu.edu
Fri Sep 23 09:27:28 CDT 2005
Does the term "l-value" ring any bells?
"In C, the term l-value originally meant something that could be
assigned (coming from left-value, indicating it was on the left side of
the = operator)" - http://en.wikipedia.org/wiki/Lvalue.
Richard Sheehan
IT Programmer Analyst
208-282-4427
Student Services, College of Technology
Idaho State University
Pocatello, ID 83209-8380
fernando.olmos at hpa.com.au wrote:
> 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
>
> _*www.hpa.com.au*_
> <file:///H:/Appdata/Microsoft/Signatures/www.hpa.com.au>
>
>
More information about the powerh-l
mailing list