Modify ↓
Opened on Aug 2, 2014 at 7:27:48 PM
#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 , on Aug 2, 2014 at 8:00:01 PM
| Version: | 3.3.13.13 |
|---|
comment:2 by , on Aug 2, 2014 at 8:02:15 PM
| Type: | Feature Request → Bug |
|---|---|
| Version: | → 3.3.13.13 |
comment:3 by , on Aug 2, 2014 at 8:08:08 PM
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 , on Jul 21, 2017 at 1:45:52 PM
| Milestone: | → 3.3.15.1 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Fixed by revision [11863] in version: 3.3.15.1
comment:5 by , on Jul 21, 2017 at 1:58:41 PM
| Resolution: | Fixed |
|---|---|
| Status: | closed → 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:7 by , on Jul 21, 2017 at 3:55:35 PM
| Milestone: | → 3.3.15.1 |
|---|---|
| Resolution: | → Fixed |
| Status: | reopened → closed |
Fixed by revision [11865] in version: 3.3.15.1
comment:8 by , on Mar 24, 2018 at 5:13:00 PM
| Resolution: | Fixed |
|---|---|
| Status: | closed → reopened |
I repoen it as Under 3.3.14.5 it is not fixed
comment:9 by , on Mar 24, 2018 at 5:16:05 PM
| Owner: | changed from to |
|---|---|
| Resolution: | → Fixed |
| Status: | reopened → closed |
Fixed by revision [12084] in version: 3.3.15.1
Note:
See TracTickets
for help on using tickets.

Automatic ticket cleanup.