Check that file exists: Difference between revisions

m
→‎{{header|REXX}}: added {{works with}} templates.
m (→‎{{header|REXX}}: added {{works with}} templates.)
Line 1,274:
 
=={{header|REXX}}==
This ===version works with:1===
::::*{{works with|PC/REXX}}
::::*{{works with|Personal REXX}}
{{works with|Regina}}
::::* REGINA
<lang rexx>/*REXX pgm creates a new empty file and directory; in curr dir and root.*/
fn='input.txt'
Line 1,293:
end /*j*/ /*now, go and perform them again.*/
/*stick a fork in it, we're done.*/</lang>
 
<br>
===version 2===
This is using ''ARexx'' semantics:
{{works with|Regina, with options: AREXX_BIFS AREXX_SEMANTICS}}
<lang rexx>
/* Check if a file already exists */