EasyManua.ls Logo

Atari ST series - Page 283

Atari ST series
420 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Fdelete
Delete File
Fdelete()
D ele te s a sp ecified file from its d ire cto ry.
C macro format
in t statu s;
c h a r ’’’filen am e;
statu s = F d elete (filen am e);
Machine language format
m o v e .l filen am e , - (sp )
m o v e .w # $ 4 1 , - (sp )
tra p # 1
a d d q .l # 6 ,s p
Opcode = 65 ($41)
Inputs
filen am e
lo n g
A po in ter to a n u ll-te rm in ate d A SC II
strin g th a t co n ta in s th e n am e o f th e file
to b e d ele ted
Results
DO statu s
See also
F c r e a te ( )
w o rd If su ccessfu l, 0 is re tu rn e d , if n o t, a n eg ative G E M
D O S e rr o r n u m b er.
275