29
edits
Red Leader (talk | contribs) (actually no, I do it in my own namespace) |
|||
Line 106: | Line 106: | ||
e.g. chatter_list = directory( chatter_dir ); | e.g. chatter_list = directory( chatter_dir ); | ||
Example : | |||
<syntaxhighlight lang="nasal" enclose="div"> | |||
var currentPath = "/home/xxx/yyy/"; | |||
print (directory(currentPath)); | |||
</syntaxhighlight> | |||
returns : | |||
:"." | |||
:".." | |||
:"file1" | |||
:"file2" | |||
:"file3" | |||
To delete the "." and ".." see the subvec() function. | |||
== open() == | == open() == | ||
== read() == | == read() == |
edits