The Detailed and Long files

Klaus major-k klaus at major-k.de
Mon Dec 11 09:50:38 EST 2017


Hi Mark,

> Am 11.12.2017 um 15:47 schrieb Mark Waddingham via use-livecode <use-livecode at lists.runrev.com>:
> On 2017-12-10 02:33, Klaus major-k via use-livecode wrote:
>> Hi Swami,
>>> Am 10.12.2017 um 02:25 schrieb Sannyasin Brahmanathaswami via use-livecode <use-livecode at lists.runrev.com>:
>>> it was a huge step to do away with the defaultfolder requirement to get a file list
>>> put files(somePath)  is wonderful
>>> but, "ummmm" …we are still forced to change the defaultFolder to get
>>> the detailed|long files
>>> Is it too much to ask for these file info functions to also work "out of the box" with just a path param to the folder?
>> already reported about a year ago:
>> <http://quality.livecode.com/show_bug.cgi?id=18010>
>> But unfortunately hibernated!?
> I added a second optional parameter to files/folders this morning:
> 
>  get files(pFolder) -- the files
>  get files(pFolder, "detailed") -- the detailed files
> 
> Its the minimal implementation - but fills the main gap that we currently suffer. The second optional parameter 'pKind' could be used in future to offer (maybe) an array form of return value, where you get an array mapping filename to an array of file attributes.
> 
> PR: https://github.com/livecode/livecode/pull/6198

this is wonderful, thank you very much! :-)

> Warmest Regards,
> 
> Mark.

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list