RosettaCodeData/Task/Create-a-file/J/create-a-file-2.j

8 lines
234 B
Text
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
require 'files'
NB. create two empty files named /output.txt and output.txt
'' fwrite '/output.txt' ; 'output.txt'
require 'general/dirutils' NB. addon package
NB. create two directories: /docs and docs:
dircreate '/docs' ; 'docs'