Jump to content

Undefined Function?


Recommended Posts

If winexists ( "blah blah", "blah blah" ) then

call ( "blah" )

else call ( "blah" )


C:\Program Files\AutoIt3\Projects\blah.au3(53,6) : ERROR: syntax error

else call


C:\Program Files\AutoIt3\Projects\blah.au3(51,18) : ERROR: blah(): undefined function.

call ( "blah" )


Why am I getting this? Obviously I am new..

Edited by Mulnore
Link to comment
Share on other sites

A fair number of AutoIt keywords must be the only statement on a line

among them Else, everything starting with End or Exit, Next, ....

In general, the excellent help file will show you in an example how to

use a certain command, just press F1 with your cursor sitting right

before a command.

Another remark: you will not usually need Call to start a built-in or

self-defined function



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