Modify

#3576 closed Feature Request (Rejected)

_PathSplit

Reported by: Loran A. Rendel <loran@…> Owned by:
Milestone: Component: Standard UDFs
Version: Severity: None
Keywords: Cc:

Description (last modified by BrewManNH)

Function _PathSplit now returns an array with parameters, but also requires to fill all byref args: $sDir, $sFileName, $sExtension.

If I need only the filename or need output array only I also must use dummy byref arguments.

So it will be better if there will be no arguments except input string, and result will be returned as array.

Attachments (0)

Change History (5)

comment:1 by Melba23, on Nov 26, 2017 at 8:26:09 AM

_PathMake returns a string. Are you thinking of _PathSplit?

If so, then this is a duplicate of https://www.autoitscript.com/trac/autoit/ticket/3540

M23

in reply to:  1 comment:2 by Loran A. Rendel <loran@…>, on Dec 19, 2017 at 12:55:07 PM

Replying to Melba23:

_PathMake returns a string. Are you thinking of _PathSplit?

If so, then this is a duplicate of https://www.autoitscript.com/trac/autoit/ticket/3540

M23

Oh, right, I have mistyped the function's name.

comment:3 by Loran A. Rendel <loran@…>, on Dec 19, 2017 at 12:59:09 PM

However, it's not the full duplicate, because my suggestion could be done with no relation to Byref functionality.

comment:4 by BrewManNH, on Dec 21, 2017 at 8:39:04 PM

Description: modified (diff)
Summary: _PathMake_PathSplit

comment:5 by J-Paul Mesnage, on Mar 7, 2018 at 9:18:55 AM

Resolution: Rejected
Status: newclosed

I think the Melba23 is a good remark (byRef optional)as we don't want to do a regression on the functions
Not sure Jon want or can implement it

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.