Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bbn!bbn.com!mesard From: mesard@bbn.com (Wayne Mesard) Newsgroups: comp.sys.mac.hypercard Subject: Re: help with choose command Message-ID: <43850@bbn.COM> Date: 4 Aug 89 23:11:37 GMT References: Sender: news@bbn.COM Reply-To: mesard@BBN.COM (Wayne Mesard) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 27 In article jm7f+@andrew.cmu.edu (Joe Melvin) writes: >regarding when the use of the "do" command is necessary and when it is >not [...] > The example that has been recently discussed, >"choose field 1 tool", does seem like the do command would be needed if you >think about it. There is a field tool, so hyperCard probably thinks your >command is starting out as "choose field" and expects the next word to be >"tool", then it runs into the "1" and gets confused. But if that were true then "choose (field 1) tool" WOULD work and it doesn't. Here's the rule: If you're trying to use a container (field, string, variable) and the description of the command in The Book doesn't indicate that a container is valid, then you have to use "do". "Choose" doesn't accept container's. It wants a keyword. (I.e., choose "field" tool -- will NOT work!) -- unsigned *Wayne_Mesard(); "We need your business, we're going out of Mesard@BBN.COM business, we'll give you the business." BBN, Cambridge, MA -Tom Waits, "Step Right Up"