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@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

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to