Modify ↓
Opened on Nov 21, 2015 at 11:23:55 AM
Closed on Nov 21, 2015 at 6:22:17 PM
Last modified on Nov 22, 2015 at 7:38:49 AM
#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 , on Nov 21, 2015 at 6:22:17 PM
| 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.