Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!asuvax!ncar!ames!uhccux!munnari.oz.au!comp.vuw.ac.nz!cantuar!sinton From: sinton@cantuar.UUCP (Robert J.P. Sinton) Newsgroups: comp.sys.mac.hypercard Subject: Re: Preventing menubar and message box hiding Message-ID: <1472@cantuar.UUCP> Date: 18 Jan 90 01:50:45 GMT References: <1990Jan4.200726.6221@smsc.sony.com> Organization: Comp Sci, Canterbury Univ., Christchurch, New Zealand Lines: 40 From article <1990Jan4.200726.6221@smsc.sony.com>, by dce@smsc.sony.com (David Elliott): > This brings up a fundamental problem. I get the feeling that I missed > something in my reading. Is it the case that any command passes a > message that can be trapped for by "on"? I am guessing this because > there is no "hide" system message documented. A while back I tried (just for fun) this card script: on add arg1,arg2,arg3 answer arg1 && "/" && arg2 && "/" && arg3 end add In the message box I typed: put 1 into temp and then: add 1 to temp Imagine my surprise when it worked! the answer dialog gave: 1 / to / I tried for ages to do something like adding 1 to arg1 so that "add 1 to temp" when temp was 1 would result in temp having the value 3. Unfortunately, the third argument is trapped as the string "", rather than a useable reference to the actual container, so the message lost its meaning through being intercepted. Very frustrating, it made me feel that the ability to alter mathematical logic was just beyond my reach :-) ----- Robert -- Internet: sinton@cosc.canterbury.ac.nz Robert J.P. Sinton Telecom: +64 3 667 001 x6367 (MSc student) UUCP: ...!{watmath,munnari,mcvax,vuwcomp}!cantuar!sinton Mail: Comp. Sci. Dept, Univ. of Canterbury, Christchurch, New Zealand