Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!snorkelwacker!apple!bc From: bc@Apple.COM (bill coderre) Newsgroups: comp.sys.mac.hypercard Subject: Re: Checking for a named object sans error if nonexistant Message-ID: <43714@apple.Apple.COM> Date: 7 Aug 90 18:34:02 GMT References: <5611@uwm.edu> Distribution: usa Organization: Apple Computer Inc, Cupertino, CA Lines: 20 John Bowden: |I have a stack that creates other stacks and I need to verify whether |certain stacks were so created. There's an XFCN called "FileExists" in the Developer Stack 1.3. It may be all you need. I'll summarize his second question: "Is there a way to determine whether a certain (object) exists?" Well, in HC 1.x, no. There should be a rather general gestalt tester in 2.0, so phrases like: if there is a cd btn "foo" then .... and if there is no menu "bar" then .... will be available. bill coderre, consultant to Apple