Jan 12, 2003 #1 Laugher Technical User Oct 9, 2002 4 AU Hi this is a really simple question and I feel a little silly asking it but I can't seem it get it. How would I make this statement work: ($Age >= "18" and < "55" Thanks in advance.
Hi this is a really simple question and I feel a little silly asking it but I can't seem it get it. How would I make this statement work: ($Age >= "18" and < "55" Thanks in advance.
Jan 12, 2003 #2 jimoblak Instructor Oct 23, 2001 3,620 US I believe one way to do it is... if (($Age >= "18" AND ($Age < "55") { //do something } Upvote 0 Downvote
I believe one way to do it is... if (($Age >= "18" AND ($Age < "55") { //do something }
Jan 13, 2003 #3 KempCGDR Programmer Jan 10, 2003 445 GB Note that if you're having them as strings, then 12 is less than 2 because it compares each character in turn. Upvote 0 Downvote
Note that if you're having them as strings, then 12 is less than 2 because it compares each character in turn.
Jan 13, 2003 Thread starter #4 Laugher Technical User Oct 9, 2002 4 AU Thanks for the help Upvote 0 Downvote