View Single Post
Old 10th August 2006, 20:45   #263
Warrior of the Light
Forum King
 
Warrior of the Light's Avatar
 
Join Date: Aug 2002
Location: The Netherlands
Posts: 4,120
You should know very well by now that this is not the idea of this thread.

Next time, create a new thread with what you have so far (no matter how little) instead.

but to answer your question and to get this over with:
code:
myvar=if(equal(myvar,value),resetvalue,myvar);


Since you don't want myvar to go to go over a specific value, you could also (or better) use above(a,b) instead of equal(a,b)

But all this are basic operations which you could easially have found yourself in the expression help.

Please don't reply here

Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever
Warrior of the Light is offline   Reply With Quote