Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 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 follow-up: Changed 9 years ago by BrewManNH

  • Resolution set to Rejected
  • Status changed from new to closed

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.

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.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.