[dir->eachFilePath] method returns a list of file paths contained in the directory that the [dir] object represents.
local(d) = dir(...) #d->eachFilePath
The code below will display the list of file paths in the /css/ directory. For purposes of the result, assume it contains the following files: 'messages.js', 'reset-fonts-grids.css', and 'style.css'.
local(dir_css) = dir('/css/') #dir_css->eachFilePath
/css/messages.css, /css/reset-fonts-grids.css, /css/style.css
Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.
©LassoSoft Inc 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft