Jump to content

Line -1; Error: Error parsing function call.


 Share

Recommended Posts

While chuging thru 'Learning to Script with AutoIt V3 Apr 2009.pdf'

I get this error:

Line -1; Error: Error parsing function call.

;Below is (line 1. +) the 1st few statements of Tutorial code:

It Compiles and Builds ok, but nogo for GO. No matter what line 1. is, it fails.

#include <GUIConstantsEx.au3> ;Constants for GUI Events

#include <EditConstants.au3> ;Edit constants. Required for the styles we used. ;Declare any variables/opts.

Opt("GUIOnEventMode", 1);We need this otherwise our GUI will not be OnEvent Mode. ;Create the GUI

$hGUI = GUICreate("Learning to script with AutoIt V3- Example GUI", 400, 300) ;Create a lable

;Below you can see & _. It allows us to split up lines, making it easier to read.

$hLabel = GUICtrlCreateLabel("This is a label control. Type text into the Input control" & "and press the button to set the text of the edit control. " &

"Type /SPECIAL in the edit for a special message!", 10, 10, 380, 40) ;Create an input control

If you want the full code, pls let me know..Thanks..vm

Link to comment
Share on other sites

  • Developers

Compile doesn't do a full syntax check.

Install the Full version of SciTE4AutoIt3 and hit F5.

This will tell you that the one but last line has a problem as you are missing the continuation character.

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

Compile doesn't do a full syntax check.

Install the Full version of SciTE4AutoIt3 and hit F5.

This will tell you that the one but last line has a problem as you are missing the continuation character.

Thanks!

I have version: SciTE4AutoIt3 Version 1.76 Jun 12 2008 09:52:15 (Lite)

Oh, you said FullVersion.

Turns out, (my error) The Tutorial program script wraps code.

I had missed one of the wrapped lines.

Also, I am missing KODA on my Lite version.

I'll check out your links, hopefully they'll lead to full version.

Thanks..vm

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