Jump to content

I'm Stumped

Recommended Posts

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?

Link to comment
Share on other sites

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


Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.


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

  • Recently Browsing   0 members

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