Sign in to follow this  
Followers 0
Alodar

Trouble with Send after If

5 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 by omglol

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

What is the error your getting when you run the script?

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0