Opened 6 years ago

Last modified 6 years ago

#3669 closed Bug

Error message "Struct" — at Version 1

Reported by: mLipok Owned by:
Milestone: 3.3.15.1 Component: AutoIt
Version: 3.3.15.0 Severity: None
Keywords: Cc:

Description (last modified by mLipok)

Try to run this code:

Opt("MustDeclareVars", 1)

_Example()
Func _Example()
	Local Static Const $testX01 = 0
EndFunc

DO NOT USE Au3Check just AutoIt.

You will see:

Line 5  (File "Z:\......\test2.au3"):

Local Static Const $testX01 = 0
Local Static ^ ERROR

Error: No variable given for "Dim", "Local", "Global", "Struct" or "Const" statement.

Message should end with this:
Error: No variable given for "Dim", "Local", "Global", "Static" or "Const" keyword.

Change History (1)

comment:1 Changed 6 years ago by mLipok

  • Description modified (diff)
  • Version changed from 3.3.14.0 to 3.3.15.0
Note: See TracTickets for help on using tickets.