Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker!mit-eddie!bu.edu!bu-cs!dartvax!eleazar.dartmouth.edu!mjm From: mjm@eleazar.dartmouth.edu (Michael McClennen) Newsgroups: comp.sys.mac.hypercard Subject: Re: card names Message-ID: <18600@dartvax.Dartmouth.EDU> Date: 18 Jan 90 18:04:03 GMT References: <52879@srcsip.UUCP> Sender: news@dartvax.Dartmouth.EDU Organization: Dartmouth College, Hanover, NH Lines: 22 In article <52879@srcsip.UUCP> leilaj@SRC.Honeywell.COM (Leila Johannesen) writes: >I can't seem to be able to get the name of a card then have it >test correctly in an "if" statement. Does anyone know how to do this? > >for example, I wrote: > >get the name of this card >put it into Message >if it is "myname" then > beep >end if Easily fixed. Substitute the following for line 1: get the short name of this card That will get you the proper string. Michael McClennen Dartmouth College Humanities Computing