Jump to content

Recommended Posts

Posted

I encountered this problem, when I use "If @error = -1 then..." within a while..Wend loop, I have to put it in 1 line, otherwise compiler will say no match of while for Wend error.

sample error code:

-------------------------------------------------

While 1

if @error = -1 then

msgbox(4096,"","hi")

end if

WEnd

-------------------------------------------------

Please help :P

Posted

There is no error in what you post just the "end if" must be "endif". But I assume that's not what you are looking for.

Can you post exactly what you try to execute? (Cut and paste)

:P

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
  • Recently Browsing   0 members

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