Modify ↓
Opened 9 years ago
Last modified 6 years ago
#3533 assigned Feature Request
Map Array Read/Write
| Reported by: | dexto | Owned by: | Jon |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | map, array | Cc: |
Description
Can this be made possible? Arrays are a pain when used with a map.
Local $json[] Local $map[] $map['test'] = 'hello' Local $array[5] = [1, 2, 3, 4, 5] $json["data"] = $map $json["data"]["arr"] = $array ConsoleWrite($json["data"]["arr"][0] & @CRLF) $json["data"]["arr"][0] = 9 ConsoleWrite($json["data"]["arr"][0] & @CRLF)
Ideally this would be possible:
Local $json[] $json["data"]['test'] = 'hello' $json["data"]["arr"] = [1, 2, 3, 4, 5] $json["data"]["arr"][0] = 9 ConsoleWrite($json["data"]["arr"][0] & @CRLF)
Attachments (0)
Note:
See TracTickets
for help on using tickets.

More info: https://www.autoitscript.com/forum/topic/187125-map-array-read/