Jump to content
Sign in to follow this  
Orgins

Why's this a syntax error?

Recommended Posts

Orgins

$i= 0

Do
    $i=$i + 1
    
If $i=1 then
          _IENavigate ($oIE, "http://s3.asdf.us/b.php?a=" & $v1)
      ElseIf $i=2
          _IENavigate ($oIE, "http://s4.asdf.us/b.php?a=" & $v2)
      ElseIf $i=3
          _IENavigate ($oIE, "http://s4.asdf.us/b.php?a=" & $v3)
    endif

C:\Documents and Settings\********\Desktop\New AutoIt v3 Script.au3(36,18) : ERROR: syntax error

ElseIf $i=2

I've not done autoit (or any coding) for a while did I miss something simple?


I'm a newbie.Sorry if I don't reposed to your replays very fast.

Share this post


Link to post
Share on other sites
Orgins

Then missing?

Yes... it is.

Edited by Orgins

I'm a newbie.Sorry if I don't reposed to your replays very fast.

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  

×