VeeDub Posted July 22, 2007 Share Posted July 22, 2007 Hi, I am using version 3.2.4.9 of AutoIt. I have scripts that run OK within Scite but when I compile I get an error unknown function name. If I use an earlier beta I don't have this problem. I seen another thread on the forum about this but the resolution was not clear to me. Here is an example #include <Date.au3> $sShortDayName = _DateDayOfWeek( @WDAY, 1 ) MsgBox(0,"ShortDayName",$sShortDayName) If I compile with production and then run the exe I get this message AutoIt Error Line 0 DateDayOfWeek.exe $sShortDayName = _DateDayOfWeek( @WDAY,1 ) $sShortDayName = ^ERROR Error: Unknown function name. Suggestions on things to check or try would be good. Thanks VW Link to comment Share on other sites More sharing options...
Developers Jos Posted July 22, 2007 Developers Share Posted July 22, 2007 Check if there are spaces or tabs infront of the #include statement and if so remove them .. this is a known bug... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
VeeDub Posted July 22, 2007 Author Share Posted July 22, 2007 Check if there are spaces or tabs in front of the #include statement and if so remove them .. this is a known bug...Doh!Obviously I did not look hard enough!Strange that the thread that I did find did not mention this though and it went for 2 pages.Thanks for the speedy reply.CheersVW Link to comment Share on other sites More sharing options...
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