It reasonable, if it returns all files, horrible.
However, I just want to list all names in Images for example.
I am sure, that there are only few pictures in this folder, I want to see files names, but now I can only count how many files there are, if I want to list the names of files , I need to use
trace(klFile[]) right?
I try to trace these 2 value as following,
trace("number of files" add klFileCount);
trace("file names" add klFile); klFileCount works. klFile doesn't work, it cannot return any file names.
output: number of files8, file names.
no file name is listed.
How to use it?

Very appreciate it!!
PS: it is quite easy to understand of the wiki, but it doesn't work, when I delete /s. It returns neither the number of folders nor name of folders.
klDirCount
klDir[1..X]
how to trace klDir? trace(klDir[1..klDirCount])? I would like to list all folders name, trace(klDirCount) is that ok?
It is the samiler problem as klFile[1..X]