[Cuis] veryShortName

Masashi UMEZAWA ume at blueplane.jp
Sat Oct 17 00:28:23 CDT 2015


Hi all,

Actually I sometimes uses #shortName for selecting package name part
from MCZ files (package.123.mcz).
In this case, package name part is not prefix. But #shortName is not
so clear, neither.

Perhaps #firstName or #nameUpToDot would be better?

Best regards,

2015-10-13 0:05 GMT+09:00 KenD <Ken.Dickey at whidbey.com>:
> Greetings,
>
> I have been looking at FileMan and had some confusion with #FmFileEntry>>shortName.
>
> 'this.that.txt' asFileEntry name. ==> 'this.that.txt'
> 'this.that.txt' asFileEntry shortName. ==> 'this'
>
> I expected #shortName to answer the same result as baseName.
>
> 'this.that.txt' asFileEntry baseName. ==> 'this.that'
>
> I find the current behavior confusing.  Is there a real need to have #shortName differ from #baseName?
>
> If the current #shortName behavior is required, could the name be changed to something nore mnemonic.  Perhaps #firstPrefix ?
>
> Thanks much,
> -KenD
>
>
>
>
> --
> KenD <Ken.Dickey at Whidbey.com>

-- 
[:masashi | ^umezawa]




More information about the Cuis mailing list