Alodar Posted August 14, 2006 Posted August 14, 2006 I'm having trouble with the send after an IF statement. So far, my code looks like --------------- if $ID[$i][1] = "NOVALUE" then send("1/1/1970") endif --------------- as just a small example. However, within an If statement, I can't get anything to send. It parses the IF statement, as far as I can tell, but skips over the sending part. Any suggestions/fixes/comments? -Alo
omglol Posted August 14, 2006 Posted August 14, 2006 (edited) is "novalue" something u can use? if u need to use a lot of those "novalue"s u could use a $Novalue and call that whatever you want what a "novalue" is. $Novalue = ;something you want it to be if $ID[$i][1] = $Novalue then send("1/1/1970") endif any help? Edited August 14, 2006 by omglol
Alodar Posted August 14, 2006 Author Posted August 14, 2006 is "novalue" something u can use? if u need to use a lot of those "novalue"s u could use a $Novalue and call that whatever you want what a "novalue" is. $Novalue = ;something you want it to be if $ID[$i][1] = $Novalue then send("1/1/1970") endif any help? NOVALUE is just a text string from some data I'm pulling.
BPBNA Posted August 14, 2006 Posted August 14, 2006 What is the error your getting when you run the script?
Alodar Posted August 15, 2006 Author Posted August 15, 2006 See that's the thing.... I don't get ANY error. It just parses like normal, runs through, and the send part of statements I've made are passed over like they don't exist.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now