Path: utzoo!attcan!uunet!yale!husc6!bunny!jwg1 From: jwg1@bunny.UUCP (James W. Gish) Newsgroups: comp.sys.mac.hypercard Subject: efficient cardExists function Message-ID: <5888@bunny.UUCP> Date: 15 Jun 88 19:42:18 GMT Organization: GTE Laboratories, Waltham, MA Lines: 12 I need a function, cardExists( cardName ), that will return true iff a card of name cardName exists in the stack. So far, the only thing I could come up with is a repulsively slow linear search that compares cardName with the name of each card in the stack. -- Jim Gish GTE Laboratories, Inc., Waltham, MA CSNET: jgish@gte.com UUCP: ..!harvard!bunny!jwg1