Make directory path: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H (future CLI version)
m (→‎OCaml: change library link)
m (→‎{{header|Wren}}: Changed to Wren S/H (future CLI version))
 
(One intermediate revision by the same user not shown)
Line 897:
{{libheader|DOME}}
Curiously, this can only be done at present from a DOME program. A minimal script to do it would be:
<syntaxhighlight lang="ecmascriptwren">import "io" for FileSystem
 
class Main {
Line 913:
var Game = Main.new()</syntaxhighlight>
<br>
However, this functionality willis expected to be added to Wren-cli whenin versionthe 0.4.0next is officially releasedversion. The code needed will be as follows:
<syntaxhighlight lang="ecmascriptwren">import "io" for Directory
 
Directory.create("path/to/dir")</syntaxhighlight>
9,476

edits