Hello Dynamo
Mytechs code:
If x => 5 Then
If x <= 8 Then
[do something code here]
Endif
Endif
Dynamo>>One problem, if something is greater than 8 then you miss it completely<<
If X is greather than 8, It will still work.
Lets suppose X is 9.
The first X statement says if X >= 5 do the next step.... it is, right?
So the next step is "If X<=8" And it isn't... so it will fall through that iff statement and fall out of the primary If statement (if X >=5).
Unless you have accidently left something out of your question??
Dwayne
Ability to Fly:
Hurling yourself towards the ground, and missing.
Engineers that Contribute to flying:
Both optimists and pessimists contribute to the society. The optimist invents the aeroplane, the pessimist the parachute
Pilots that are Flying:
Those who know their limitations, and respect the green side of the grass...
Bookmarks