Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!ub.d.umn.edu!cs.umn.edu!ux.acs!clarson From: clarson@ux.acs.umn.edu (Chaz Larson) Newsgroups: comp.sys.mac.hypercard Subject: Re: Open stack... default Message-ID: <2831@ux.acs.umn.edu> Date: 5 Dec 90 14:53:25 GMT References: <2804@polari.UUCP> <2435.275d3266@waikato.ac.nz> Reply-To: clarson@ux.acs.umn.edu (Chaz Larson) Organization: Iron City, USA Lines: 27 This isn't meant as a flame, Lawrence, I'm just confused. In article <2435.275d3266@waikato.ac.nz> ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes: | | On DoMenu What | --> Global ReenterDoMenu | If ReenterDoMenu is empty and What is "Open Stack..." then | --> Put 1 into ReenterDoMenu | Type "o" with CmdKey,ShiftKey | --> Put empty into ReenterDoMenu | Else | Pass DoMenu | End if | End DoMenu Am I missing the extremely obvious? I don't understand why that global is necessary at all. Unless you're using it in other scripts for some other purpose, it will always be empty every time this script gets to the "if" statement. The "put 1 into..." and "put empty into..." lines which follow one another almost immediately seem especially odd. chaz -- Someone please release me from this trance. clarson@ux.acs.umn.edu AOL:Crowbone