Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!bcm!watson!jgsmith From: jgsmith@watson.bcm.tmc.edu (James G. Smith) Newsgroups: comp.sys.mac.hypercard Subject: Re: Using FIND in scripts Summary: HyperCard's goofy find rules Message-ID: <347@gazette.bcm.tmc.edu> Date: 20 Mar 90 22:16:34 GMT References: <9223@sdcc6.ucsd.edu> <3118@oakhill.UUCP> Sender: usenet@bcm.tmc.edu Distribution: usa Lines: 37 Find is one of the things HyperCard does in a really goofy way. If you say (in a script) Find "foo" in field "bar" HyperCard thinks hmmm, field bar is field number one, so this script says Find "foo" in field number one If hyperCard doesn't find "bar" in field number one, it goes to the next card (whatever the background) and looks for "bar" in field number one of THAT background, no matter what field that is. * (but I still like HyperTalk anyway....so what are a few hours frustation a) Find is one of the things HyperCard does in a really goofy way. If you say (in a script) Find "foo" in field "bar" HyperCard thinks hmmmm, field "bar" is field number one, so this script really says Find "foo" in field number one If HyperCard doesn't find "foo" in field number one, it goes to the next card (whatever the background) and looks for "foo" in field number one of THAT background, no matter what that field is called. * (but I still like HyperTalk anyway)