Create a file: Difference between revisions

Added XPL0 example.
(Create a file en Yabasic)
(Added XPL0 example.)
Line 2,566:
int 0x80 ; Make kernel call
ret
</lang>
 
=={{header|XPL0}}==
XPL0 does not currently create directories.
To create a file in the root directory, assuming you have permission,
insert a slash at the beginning, like this: /output.txt
 
<lang XPL0>
int FD;
FD:= FOpen("output.txt", 1);
</lang>
 
772

edits