Opened 23 months ago

Closed 15 months ago

Last modified 11 months ago

#3560 closed Bug (Fixed)

parentheses around function refference fails when follwed by calling parentheses, triggers error: Statement cannot be just an expression.

Reported by: genius257 Owned by: Jpm
Milestone: Component: Au3Check
Version: Severity: None
Keywords: Cc:



Func ABC()
	MsgBox(0, "", "test")

$test = Test

This is a problem when using objects:

Func ABC()
	MsgBox(0, "", "test")

$Object = ObjCreate("Scripting.Dictionary")
$Object.Add('ABC', ABC)

Attachments (0)

Change History (4)

comment:1 Changed 23 months ago by Jos

  • Owner set to Jos
  • Status changed from new to assigned

I made some changes to au3check already for this new stuff in v3.3.15.3, but it isn't able to coupe with the extra set op parentheses around the variable. Need to check this.


Last edited 23 months ago by Jos (previous) (diff)

comment:2 Changed 15 months ago by Jpm

I think that I found a solution please use the au3check.exe of the SciTE beta download

comment:3 Changed 15 months ago by Jpm

  • Milestone set to
  • Owner changed from Jos to Jpm
  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed by revision [12096] in version:

comment:4 Changed 11 months ago by genius257 <hot415@…>

Hi Jos :)
I've tried the au3check.exe from the of the beta download, and i still seem to get the same problem.

Sorry for the slow response, i have tried adding my mail my preferences in hope that i will get a notification when there's responses in a ticket i participate in :)

AutoIt3 Syntax Checker v3.3.15.1  Copyright (c) 2007-2013 Tylo & AutoIt Team

error: Statement cannot be just an expression.
error: syntax error
error: Statement cannot be just an expression.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

as closed The owner will remain Jpm.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.