Sign in to follow this  
Followers 0
VeeDub

Unknown Function Name

3 posts in this topic

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

Share this post


Link to post
Share on other sites



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

:whistle:


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
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

Share this post


Link to post
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
Sign in to follow this  
Followers 0