Anonymous user
Check that file exists: Difference between revisions
→{{header|Pop11}}: added information about sys_file_stat [A.S]
(→{{header|Pop11}}: added information about sys_file_stat [A.S]) |
|||
Line 181:
endif;
enddefine;
The above works but is not the only way or the best way to check status of a file in Pop11. There is a very general procedure sys_file_stat that allows interrogation of a file or directory. The full documentation can be seen in the online documentation (search for sys_file_stat):
http://wwwcgi.rdg.ac.uk:8081/cgi-bin/cgiwrap/wsi14/poplog/pop11/ref/sysio
http://www.poplog.org/docs/popdocs/pop11/ref/sysio
http://www.cs.bham.ac.uk/research/projects/poplog/doc/popref/sysio
(Not so well formatted).
Users can easily define special cases of the general procedure.
=={{header|PowerShell}}==
|