Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!sun!scrgwy.psi!davis%mauve@spar.slb.com From: scrgwy.psi!davis%mauve@spar.slb.com (Paul Davis) Newsgroups: comp.sys.mac.hypercard Subject: problem with DO Message-ID: <72869@sun.uucp> Date: 13 Oct 88 15:59:33 GMT Sender: news@sun.uucp Distribution: comp Lines: 30 Approved: hyper-hackers%plaid@sun.com HyperCard Z2-1.1 Having constructed a small command in a container using a predicate entered in a field, I'm trying to execute the container using `do' and I keep getting the message "Cannot interpret if in Message Box" when the command contains an if-then clause. How do I get around this - I thought that `do' executed its argument as if it were a script, not a message box entry ... do I need a later version ? eg; a simple button script on mouseUp get field "salary-predicate" put it into instruction put "if 14000 " before instruction put " then put " & quote & "hello, world" & quote after instruction do instruction end mouseUp (where the field "salary-predicate" contains something like "> 10000") Please reply to me - I'm not (yet) recieving this list (it's on its way), and PLEASE for your own peace of mind, use the Reply-to: address for now. Many thanks, Paul