Modify

Opened 12 years ago

Closed 8 years ago

#2822 closed Bug (Fixed)

object('item')('item') syntax support

Reported by: anonymous Owned by: J-Paul Mesnage
Milestone: 3.3.15.1 Component: Au3Check
Version: 3.3.13.13 Severity: None
Keywords: Cc:

Description

In beta 3.3.13.13 i execute this code without any errors.
But AU3Check find here error:Statement cannot be just an expression.

Here the code

$work = ObjCreate('scripting.dictionary')
$work.add('data', ObjCreate('scripting.dictionary'))

$work('data')('user') = @UserName ;error here


;use some data
ConsoleWrite($work('data')('user') & @CRLF)

Attachments (0)

Change History (9)

comment:1 by TicketCleanup, 12 years ago

Version: 3.3.13.13

Automatic ticket cleanup.

comment:2 by Jos, 12 years ago

Type: Feature RequestBug
Version: 3.3.13.13

comment:3 by anonymous, 12 years ago

And if this will be fixed, we can do such strange things as:

Global $Test[]

$result = Test('a')('b')('c')
$result = Test('a', 1)('b', 2)('c', 3)

Func Test($key, $value = Null)
	$Test[$key] = $value
	Return Test
EndFunc


comment:4 by Jos, 9 years ago

Milestone: 3.3.15.1
Owner: set to Jos
Resolution: Fixed
Status: newclosed

Fixed by revision [11863] in version: 3.3.15.1

comment:5 by Jos, 9 years ago

Resolution: Fixed
Status: closedreopened

reopened for this to be fixed:

Global $Test[]

$result = Test('a')('b')('c')
$result = Test('a', 1)('b', 2)('c', 3)

Func Test($key, $value = Null)
	$Test[$key] = $value
	Return Test
EndFunc

Jos

comment:6 by TicketCleanup, 9 years ago

Milestone: 3.3.15.1

Automatic ticket cleanup.

comment:7 by Jos, 9 years ago

Milestone: 3.3.15.1
Resolution: Fixed
Status: reopenedclosed

Fixed by revision [11865] in version: 3.3.15.1

comment:8 by J-Paul Mesnage, 8 years ago

Resolution: Fixed
Status: closedreopened

I repoen it as Under 3.3.14.5 it is not fixed

comment:9 by J-Paul Mesnage, 8 years ago

Owner: changed from Jos to J-Paul Mesnage
Resolution: Fixed
Status: reopenedclosed

Fixed by revision [12084] in version: 3.3.15.1

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.