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 , 12 years ago
| Version: | 3.3.13.13 |
|---|
comment:2 by , 12 years ago
| Type: | Feature Request → Bug |
|---|---|
| Version: | → 3.3.13.13 |
comment:3 by , 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 , 9 years ago
| 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 , 9 years ago
| 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 , 9 years ago
| Milestone: | → 3.3.15.1 |
|---|---|
| Resolution: | → Fixed |
| Status: | reopened → closed |
Fixed by revision [11865] in version: 3.3.15.1
comment:8 by , 8 years ago
| Resolution: | Fixed |
|---|---|
| Status: | closed → reopened |
I repoen it as Under 3.3.14.5 it is not fixed
comment:9 by , 8 years ago
| 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.