Create a file: Difference between revisions

Content deleted Content added
m →‎{{header|Perl 6}}: spurious newlines
No edit summary
Line 569: Line 569:
fso.CreateFolder('c:/docs');</lang>
fso.CreateFolder('c:/docs');</lang>


=={{header|Liberty BASIC}}==
Filenames without drive and directory info. refer to the same directory as the LB program is running from.
<br>
Full pathnames including drive name and directory can be used- back-slash separated.
<lang lb>
nomainwin

open "output.txt" for output as #f
close #f

result = mkdir( "F:\RC")
if result <>0 then notice "Directory not created!": end

open "F:\RC\output.txt" for output as #f
close #f

end
</lang>
=={{header|Lua}}==
=={{header|Lua}}==
{{works with|Lua|5.1}}
{{works with|Lua|5.1}}