Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!usc!apple!rdclark From: rdclark@Apple.COM (Richard Clark) Newsgroups: comp.sys.mac.programmer Subject: Re: SFGetFile Message-ID: <39694@apple.Apple.COM> Date: 21 Mar 90 07:28:59 GMT References: <3830@sage.cc.purdue.edu> <39665@apple.Apple.COM> <39667@apple.Apple.COM> Organization: Apple Computer Inc, Cupertino, CA Lines: 24 In article <39667@apple.Apple.COM> keith@Apple.COM (Keith Rollin) writes: >In article <39665@apple.Apple.COM> rdclark@Apple.COM (Richard Clark) writes: >> >>Now, on to the SFP statement. For the TypeList, you really do have to declare a >>variable of SFTypeList and fill in 1 (or more) of the fields, then pass the >>address of that structure. If you want "all files", then pass 0 for the type >>count and NIL for the pointer to the type list. >> > >Two out of three, Richard. You have to pass -1 as the count if you want "all >files". > That's what I get for not looking at the documentation. Does anybody know how to get red text (to match the color of my face?) -- -----------------------------+----------------------------------------------- Richard Clark | "If you don't know where you're going, Instructor/Designer | don't go there" -- Sybalski's Law Apple Developer University +----------------------------------------------- AppleLink, GEnie, Delphi, MCI, Internet: rdclark CI$: 71401, 2071