Jump to content

Why's this a syntax error?


Recommended Posts

$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.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...