Creating files/folders
Peter Haworth
pete at lcsql.com
Fri Oct 5 15:56:03 EDT 2012
If I "open file <filepath>" for write" and the file doesn't exist LC
creates it. But what happens if an error occurs? For example, the file
path includes a folder that doesn't exist, or permissions don't allow the
file to be created. I know the file doesn't get created but how do I check
for an error?
Similarly with "create folder <pathtofolder>", how do I check for errors?
Pete
lcSQL Software <http://www.lcsql.com>
More information about the use-livecode
mailing list