Skip to content

Anyone knowing how to initialize an Array Juce container? #397

Answered by dnaldoog
dobo365 asked this question in Q&A
Discussion options

You must be logged in to vote

This is how would you do it with Directory selection:

readFile = function()
    local f = utils.getDirectoryWindow("Search for Directory", File(''))
    local t = {}
    f:findChildFiles(t, 2, false, "*.txt") 
    for i, v in ipairs(t) do
        console(v:getFullPathName())
    end --print each found element in the table
end

findChildFiles_1_0_2021-12-26_18-00.zip

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dobo365
Comment options

@dnaldoog
Comment options

@dobo365
Comment options

Answer selected by dobo365
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants