Apr 28, 2004 #1 Rmcta Technical User Nov 1, 2002 478 US I need to say: if x number is between a and b and y number is between c and d Then . . . I tried the following but does not work: if( (4>=12) && (4<=20) && (16>=15) && (5 <=11) ) do this else do that
I need to say: if x number is between a and b and y number is between c and d Then . . . I tried the following but does not work: if( (4>=12) && (4<=20) && (16>=15) && (5 <=11) ) do this else do that
Apr 28, 2004 1 #2 Salem Programmer Apr 29, 2003 2,455 GB Seems good to me - with appropriate substitutions for x,y,a,b,c,d -- Upvote 0 Downvote
Apr 28, 2004 Thread starter #3 Rmcta Technical User Nov 1, 2002 478 US You are correct. Sorry! Upvote 0 Downvote