Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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 by BrewManNH, 10 years ago

Resolution: Rejected
Status: newclosed

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.

in reply to:  1 comment:2 by TheDcoder, 10 years ago

Ok :)

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.