Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!primerd!ENI!S47!LAWRENCE From: LAWRENCE@S47.Prime.COM Newsgroups: comp.sys.mac.hypercard Subject: Re: Message Window: probs w/global vari Message-ID: <78600004@S47.Prime.COM> Date: 11 Sep 89 09:21:00 GMT References: <19503@mimsy.UUCP> Lines: 5 Nf-ID: #R:mimsy.UUCP:-1950300:S47:78600004:000:228 Nf-From: S47.Prime.COM!LAWRENCE Sep 11 09:21:00 1989 Just require that the user explicitly type the 'global j' statement - recognize it, and save the 'j' in a hidden field. Then build your handler each time by prepending a global statement with all the variables declared so far.