Create a file: Difference between revisions
Content added Content deleted
(Adds slope example) |
|||
Line 2,370: | Line 2,370: | ||
Local: |
Local: |
||
<syntaxhighlight lang="slate">(close (file-open-write "output.txt")) |
<syntaxhighlight lang="slate">(close (file-open-write "output.txt")) |
||
(mkdir " |
(mkdir "docs" 0755)</syntaxhighlight> |
||
Root: |
Root: |
||
<syntaxhighlight lang="slate">(close (file-open-write "/output.txt")) |
<syntaxhighlight lang="slate">(close (file-open-write "/output.txt")) |
||
(mkdir "/ |
(mkdir "/docs" 0755)</syntaxhighlight> |
||
=={{header|Smalltalk}}== |
=={{header|Smalltalk}}== |