On Tuesday 01 March 2016, 13:26:17 Baltissen, GJPAA (Ruud) <ruud.baltissen@apg.nl> wrote: > Hallo allemaal, > > > Although I have written a lot in ML, I cannot remember to have written a PRG > in ML for any Commodore ever. My problem: how can I check the existence of > a file? As shown in a Data-Becker book I did set various variables like > filename and the length of it using a standard routine, set the logical > file number, device number and secondary address using a standard routine > and called the OPEN routine. This Data-Becker book said that if things go > wrong, the Carry is set and A contains the error code, including one for > 'file is missing'. Seemed simple enough. IIRC you have to read from the file to get the error, just OPEN wont do it. -- http://www.hitmen-console.org http://magicdisk.untergrund.net http://www.pokefinder.org http://ar.pokefinder.org Wozu Socken? Sie schaffen nur Löcher. <Albert Einstein> Message was sent through the cbm-hackers mailing listReceived on 2016-03-01 16:00:12
Archive generated by hypermail 2.2.0.