Baldie,
The way I understand it is this: (and I may be absolutely wrong, anyone who knows any different than this please post)
if gorgon || charges notin #property
The natural way to read that statement is.....
If gorgon or charges notin #property
DoSomething
the OR statement is described in EUO docs as follows:
%a || %b Or If either one of the values evaluates as true, the expression is true.
I read that to mean that basically the value on the right and the left of the || command have to be FULL values. As if they were two totally seperate lines.
In other words your code would read like this:
If gorgon
do something
if charges notin #property
do something
Do you see the problem now? If gorgon is not a full statement... if gogron, what?
So the correct way to make it perform the function you want would be
if gorgon notin #property || charges notin #property
do something
That would read on two seperate lines like this:
If gogron notin #property
do something
If charges notin #property
do something
Hope that helps! Again, if anyone knows that it functions any differently please post and explain, because I may have it all wrong also. But thats the way I handle the && and || statements.
Oh yeah I realized i forgot something. The IF at the beginning of the line is implied to follow every || &&. Thus you dont need to type the IF all over again following a OR / AND command.
JaF