Sign in to follow this  
Followers 0
vmars

Line -1; Error: Error parsing function call.

3 posts in this topic

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

Share this post


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


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

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

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