Re: DIR () & hidden things
- Posted by jeremy (admin) Sep 27, 2011
- 1317 views
sergelli said...
?dir( "c:\\users")
in this case, displays a list of items that exist in the folder
?dir( "c:\\Documents and Settings" )
display -1
BTW... In Euphoria 4.x we have a few new string types. One could rewrite this code to be:
-- backquotes ?dir(`c:\users`) -- tripple quote ?dir("""c:\Documents and Settings""")
both of those strings are considered "raw" strings and can also span multiple lines, although that would for sure cause a -1 with the dir() example above
Jeremy