Modify ↓
#3174 closed Feature Request (Rejected)
New functionality for Maps and Arrays in String() Function
| Reported by: | TheDcoder | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | String(), Arrays, Maps, String Function | Cc: |
Description
Hello, It would be nice if String($aArray) returns "{Array}" and String($mMap) returns "{Map}"
Attachments (0)
Change History (2)
follow-up: 2 comment:1 by , 10 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Why should it return that? You'll be causing all sorts of script bugs if you return a string for something that isn't something you can turn into a string. It's designed to turn numbers or mathematical expressions into a string, it's not designed to account for people using it incorrectly.
You should try and write your own function to handle something like that.