Jump to content

Unknown Function Name


Recommended Posts

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

  • Developers

Check if there are spaces or tabs infront of the #include statement and if so remove them .. this is a known bug...

:whistle:

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

Check if there are spaces or tabs in front of the #include statement and if so remove them .. this is a known bug...

:whistle:

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.

Cheers

VW

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
 Share

  • Recently Browsing   0 members

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