Getting Dir Contents

About Monkey 2 Forums Monkey 2 Programming Help Getting Dir Contents

This topic contains 3 replies, has 3 voices, and was last updated by  JaviCervera 12 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14468

    JaviCervera
    Participant

    Sorry if this has already been asked, search results for this didn’t throw anything.

    Is there a way to get the contents of a directory? I could not find a function for it on the std.filesystem module.

    Thanks!

    #14473

    Simon Armstrong
    Participant

    I managed to find docs for LoadDir function in std.filesystem docs using the Docs tree in Ted2Go.

    I was unable to get google to find the same page using “monkey2 function contents of directory” search query -from cursory glance the monkey2 online docs don’t look search engine friendly.

    #14474

    Mark Sibly
    Keymaster

    See LoadDir in the filesystem module, eg:

    #14476

    JaviCervera
    Participant

    Ouch. I missed that in the docs. I skimmed through the list of functions twice but couldn’t find it. Thank you very much, guys!

    It would be great to move the docs to the same panel as the source files, like in the Blitz and Monkey1 days. I don’t like having to resize the panel everytime I need to check the docs.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.