jjohn Posted January 2, 2006 Posted January 2, 2006 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
jpm Posted January 2, 2006 Posted January 2, 2006 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)
w0uter Posted January 2, 2006 Posted January 2, 2006 autoit probly sayd no matching wend b/c the IF is still open. so i think its exactly what he was looking for My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll
jjohn Posted January 3, 2006 Author Posted January 3, 2006 Thanks for your help, now I know why I got the error.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now