RosettaCodeData/Task/Create-a-file/Euphoria/create-a-file.euphoria
2023-07-01 13:44:08 -04: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)