Jump to content
Sign in to follow this  
Alodar

Trouble with Send after If

Recommended Posts

Alodar

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
omglol

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
Alodar

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
BPBNA

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

Share this post


Link to post
Share on other sites
Alodar

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.