cougarelite Posted June 8, 2005 Posted June 8, 2005 I've been making a nscript for a while and I finally come to test it. Now it says that there is a WEnd statement with no matching While statement. When I take the WEnd out it says there is a While statement with not matching WEnd statement. When it's all put to gether correctly, there is clearly both a while and wend statement. What is wrong?
GaryFrost Posted June 8, 2005 Posted June 8, 2005 (edited) don't know, no script to look at. Edit: also, if you are not using the SciTe editor, might want to look at using it, helps alot with problems such as your describing. Edited June 8, 2005 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
flyingboz Posted June 8, 2005 Posted June 8, 2005 if using scite, I have had a couple of instance where massive cut/paste edits could get tidy/scite confused....copying entire script into a new window resolves issue quickly. If not using scite, get off your butt and get it Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.
buzz44 Posted June 8, 2005 Posted June 8, 2005 The problem you describe is often caused because of If...EndIf Statements missing and EndIf. Go through your code and check all Do...Until, For...Next and If...EndIf statments as well as While...Wend to check if they all have there corresponding Until/Next/EndIf/Wend. qq
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