Path: utzoo!attcan!uunet!husc6!cmcl2!vx2!spector From: spector@vx2.NYU.EDU (David HM Spector) Newsgroups: comp.sys.mac.hypercard Subject: Re: Too Much Recursion! Where? Message-ID: <3150008@vx2.NYU.EDU> Date: 7 Sep 88 15:43:00 GMT References: <3150006@vx2.NYU.EDU> Organization: New York University Lines: 23 I think I have found the (a) solution... It seems that when you jump around between stacks, there is some interaction between the _stack_level_ scripts. The solution is to do a "set lockMessages to true" just before you do something like 'go to stack "SomeOtherStack"' and then set lockMessages back to false when you're done. lockMessages (according to Goodman's HC Developer's Guide) disables all messages (except idle) until turned off. Its primary use (and the one I am using it for) is to let you jump somewhere else (another stack), snarf some data, and then get back without having another stacks scripts start running, which might do all sorts of unintended things... _DHMS ------------------------------------------------------------------------------- David HM Spector New York University Senior Systems Programmer Graduate School of Business ARPAnet: SPECTOR@GBA.NYU.EDU Academic Computing Center USEnet:...!{allegra,rocky,harvard}!cmcl2!spector 90 Trinity Place, Rm C-4 HamRadio: N2BCA MCIMail: DSpector New York, New York 10006 AppleLink: D1161 CompuServe: 71260,1410 (212) 285-6080 "What computer puts out work like this?" "Hire us and we'll tell you."