[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Applesoft/Prodos/ONERR GOTO/File existence question
- Subject: Re: Applesoft/Prodos/ONERR GOTO/File existence question
- From: dalloff@gcfn.org (Dave Althoff Jr)
- Date: 13 Oct 2003 13:50:18 -0400
- Newsgroups: comp.sys.apple2
- Organization: GCFN (http://www.gcfn.org/)
- References: <qhfzhxiqn9.fsf@ruckus.brouhaha.com> <IOzib.149218$bo1.136109@news-server.bigpond.net.au>
- Xref: archiver1.google.com comp.sys.apple2:382
Peter Watson (paw77@N_O_hotmail_S_P_A_M.com) wrote:
: BTW, as others have said, the VERIFY command is the way to test for file. It
: is the only reason it was left in ProDOS - its original function (literally
: to verify that the file was readable) didn't survive past DOS 3.3.
VERIFY is fine in ProDOS, in ProDOS I'm pretty sure all it does is to tell
you a file exists and give you a FILE NOT FOUND if it doesn't. But under
DOS 3.3, VERIFY will actually 'walk' the file and generate checksums,
which can be a lengthy process if it is a big file.
Hence I always used UNLOCK. 8-)
Personally, I liked programming for text files better in DOS 3.3 than in
ProDOS, for one reason in particular:
DOS 3.3 has MON CIO
ProDOS does not.
--Dave Althoff, ][.
--
/-\ _ *** Respect rides. They do not respect you. ***
/XXX\ /X\ /X\_ _ /X\__ _ _ _____
/XXXXX\ /XXX\ _/XXXX\_ /X\ /XXXXX\ /X\ /X\ /XXXXX
_/XXXXXXX\__/XXXXX\/XXXXXXXX\_/XXX\_/XXXXXXX\__/XXX\_/XXX\_/\_/XXXXXX