Page 1 of 1

GETfilepart()?

Posted: Tue Mar 02, 2010 8:13 pm
by Trond
In general if there is not both Get and Set, the Get is removed from the command name. But GetFilePart() and friends has a get even when there is no Set. I suggest to remove the Get or add Set variants (would be handy).

Re: GETfilepart()?

Posted: Tue Mar 02, 2010 8:36 pm
by UserOfPure
Say what :?:

Re: GETfilepart()?

Posted: Tue Mar 02, 2010 8:44 pm
by Trond
what

Re: GETfilepart()?

Posted: Tue Mar 02, 2010 8:49 pm
by Seymour Clufley
Or merge all of those commands (Get Extension, Path, File Part) into one, as in GetURLPart.

Re: GETfilepart()?

Posted: Tue Mar 02, 2010 8:56 pm
by Kurzer
Trond wrote:what
LOL :lol:

Re: GETfilepart()?

Posted: Tue Mar 02, 2010 9:02 pm
by Kaeru Gaman
"get" is shorter than "extract"...
and it's not wrong anyway.

Re: GETfilepart()?

Posted: Tue Mar 02, 2010 9:26 pm
by Trond
Kaeru Gaman wrote:"get" is shorter than "extract"...
and it's not wrong anyway.
Fred said that in general, if there is no "set" then they remove the "get". But they didn't in this case. So when looking for this command I didn't find it in the autocomplete because I forgot the get.

I.e.
GetGadgetText(
SetGadgetText(
, but only
ListSize() (not GetListSize())