Modify

Opened 10 years ago

Closed 7 years ago

#2822 closed Bug (Fixed)

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

Reported by: anonymous Owned by: Jpm
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 Changed 10 years ago by TicketCleanup

  • Version 3.3.13.13 deleted

Automatic ticket cleanup.

comment:2 Changed 10 years ago by Jos

  • Type changed from Feature Request to Bug
  • Version set to 3.3.13.13

comment:3 Changed 10 years ago by anonymous

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 Changed 7 years ago by Jos

  • Milestone set to 3.3.15.1
  • Owner set to Jos
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [11863] in version: 3.3.15.1

comment:5 Changed 7 years ago by Jos

  • Resolution Fixed deleted
  • Status changed from closed to reopened

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 Changed 7 years ago by TicketCleanup

  • Milestone 3.3.15.1 deleted

Automatic ticket cleanup.

comment:7 Changed 7 years ago by Jos

  • Milestone set to 3.3.15.1
  • Resolution set to Fixed
  • Status changed from reopened to closed

Fixed by revision [11865] in version: 3.3.15.1

comment:8 Changed 7 years ago by Jpm

  • Resolution Fixed deleted
  • Status changed from closed to reopened

I repoen it as Under 3.3.14.5 it is not fixed

comment:9 Changed 7 years ago by Jpm

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

Fixed by revision [12084] in version: 3.3.15.1

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

Action
as closed The owner will remain Jpm.
Author


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

 
Note: See TracTickets for help on using tickets.