Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!brutus.cs.uiuc.edu!apple!sun-barr!texsun!pollux!ti-csl!m2!martin From: martin@m2.csc.ti.com (Steven Martin) Newsgroups: comp.sys.mac.hypercard Subject: Re: Message Window: probs w/global variables Message-ID: <90741@ti-csl.csc.ti.com> Date: 11 Sep 89 14:45:14 GMT References: <19503@mimsy.UUCP> Sender: news@ti-csl.csc.ti.com Reply-To: martin@m2.UUCP (Steven Martin) Organization: TI Computer Science Center, Dallas Lines: 20 In article <19503@mimsy.UUCP> spector@brillig.umd.edu.UUCP (Lee Spector) writes: >I conclude that there must be (BETTER BE) a better way. How can I evaluate >a string JUST AS THOUGH I HAD TYPED IT TO THE MESSAGE BOX AND TYPED RETURN? >It seems like you could just script this, but as far as I can tell the fact >that it's scripted changes the scope of the variables in the string. How about putting the string into the message box and then doing a "type return". on mydo string put string type return end mydo Good luck! Steve Martin USENET: {ctvax,im4u,texsun,rice}!ti-csl!martin ARPANET: SMARTIN@CSC.TI.COM COMPUSERVE: 72727,1471 GENIE: S.MARTIN8 PHONE: (214)-995-0387, 404-1061 I'll have four whole fried chickens and a Coke. -Jake Blues