Path: utzoo!attcan!uunet!wucs1!wucs2!dadent!jtw From: jtw@dadent (Trent Wohlschlaeger) Newsgroups: comp.sys.mac.hypercard Subject: Re: efficient cardExists function Message-ID: <860@wucs2.UUCP> Date: 17 Jun 88 17:28:31 GMT References: <5888@bunny.UUCP> Sender: usenet@wucs2.UUCP Reply-To: jtw@dadent.UUCP (Trent Wohlschlaeger) Organization: Washington University Lines: 23 In article <5888@bunny.UUCP> jwg1@bunny.UUCP (James W. Gish) writes: >I need a function, cardExists( cardName ), that will return true iff >a card of name cardName exists in the stack. > >... >-- >Jim Gish >GTE Laboratories, Inc., Waltham, MA >CSNET: jgish@gte.com UUCP: ..!harvard!bunny!jwg1 Correct me if I'm wrong, (I don't have my Hypercard manuals handy) but doesn't go to cardName if the result is not empty then -- the card does not exist else -- the card exists, have fun end if work? This also leaves you on the current card without any further scripting if the desired card does not exist, unless I also have fallen prey to the D-RAM shortage.