Hi
i got my path/filename-splitting working
function dirname(fn)
return string.gsub(fn, "(.*)\\[^\\]+$", "%1")
end
function basename(fn)
return string.gsub(fn, ".*\\([^\\]+)$", "%1")
end
how can i check in lua for directory-existance and create it if not exist?
i've tried this like this:
function file_exists(name)
local f = openfile(name, "r")
if f then
closefile(f)
return 1
end
return nil
end
but scite doesn't know openfile....
i also searched for a list of commands used in scite like output:* (e.g.
ReplaceSel)...i need something similar to "clear"
regards Frank
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest