Lasso Soft Inc. > Home

[ dir->exists ]


The [dir->exists] method checks to see if the path set for the [dir] object exists and returns true if it does and false if it doesn't.

  • Syntax
local(d) = dir(...)
  • Beginner

Create a directory if it does not exist

The code below checks to see if a directory exists and creates it if it does not.


local(dir_logo) = dir('/rhino')
if(not #dir_logo->exists) => {

Recent Comments

No Comments found

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. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft