🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #23074

Another SFGetFile question

#23074
From: Robert Gardner
Date: Mon, 21 Dec 1987 23:35
19 lines
1328 bytes
I tried posting this earlier but it apparently got lost. Sorry if this
subject appears twice...

I have another problem with SFGetFile() (the responses to the last one
were much appreciated). I want to filter out all open files. I have
tried just checking the ioRefNum field since IM says that this will
contain the file's reference number if the file is open (but it doesn't
say what it will contain if the file is closed!). If ioRefNum is 0
then I assume the file is closed. This works fine on the Mac+ but
does NOT work on 64K ROM machines. On 64K ROM machines my filter 
thinks that EVERY file is open.

Since this works on 128K ROMs but not on 64K ROMs I am worried about
how it will work on newer machines. Also, no one seems to be willing
to completely give up on 64K ROM machines yet so I still have to
find a way that works for older Macs.

Thank you,
Robert Gardner
Technical Details
Message-ID: <8157@prls.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!lll-lcc!pyramid!prls!gardner
References: <508@vub.UUCP> <3600016@iuvax> <8119@prls.UUCP> <7068@apple.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!ames!lll-lcc!pyramid!prls!gardner
From: gardner@prls.UUCP (Robert Gardner)
Newsgroups: comp.sys.mac
Subject: Another SFGetFile question
Message-ID: <8157@prls.UUCP>
Date: 21 Dec 87 23:35:16 GMT
References: <508@vub.UUCP> <3600016@iuvax> <8119@prls.UUCP> <7068@apple.UUCP>
Reply-To: gardner@prls.UUCP (Robert Gardner)
Organization: Philips Research Labs, Sunnyvale, California
Lines: 19