RosettaCodeData/Task/Create-a-file/Euphoria/create-a-file.euphoria
Ingy döt Net 764da6cbbb CDE
2013-04-10 16:57:12 -07:00

11 lines
201 B
Text

integer fn
-- In the current working directory
system("mkdir docs",2)
fn = open("output.txt","w")
close(fn)
-- In the filesystem root
system("mkdir \\docs",2)
fn = open("\\output.txt","w")
close(fn)