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)
comment:1 follow-up: ↓ 2 Changed 9 years ago by BrewManNH
- Resolution set to Rejected
- Status changed from new to closed
comment:2 in reply to: ↑ 1 Changed 9 years ago by TheDcoder
Ok :)
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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.