ghang Posted April 30, 2009 Share Posted April 30, 2009 i wanna write a expression that set $TX = ?? , and greater than 1 and smaller than 5 $TX = N N = ? 1<$TX>5 how should i write in the box ? Quote Link to comment Share on other sites More sharing options...
Ezz Posted April 30, 2009 Share Posted April 30, 2009 i wanna write a expression that set $TX = ?? , and greater than 1 and smaller than 5 $TX = N N = ? 1<$TX>5 how should i write in the box ? Hi ghang. I guess there is many solutions to that. Here is one. You can use an OR in a IF-statement like this example: if( $N < 1 || $N> 5 , 0 , 1 ) I hope I understood your question. Erik Quote Link to comment Share on other sites More sharing options...
ghang Posted May 1, 2009 Author Share Posted May 1, 2009 Hi ghang. I guess there is many solutions to that. Here is one.You can use an OR in a IF-statement like this example: if( $N < 1 || $N> 5 , 0 , 1 ) I hope I understood your question. Erik thanks , i found out some hope from both of your advice , i will adjust the if($,$,$) function cheers!!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.