Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!cornell!rochester!uhura.cc.rochester.edu!aisl From: aisl@uhura.cc.rochester.edu (Lawrence Landry) Newsgroups: comp.sys.mac.hypercard Subject: Re: How do I get HyperCard to return the value of a line? Message-ID: <1946@ur-cc.UUCP> Date: 12 May 89 13:54:14 GMT References: <1195@atux01.UUCP> Reply-To: aisl@uhura.cc.rochester.edu (Lawrence Landry) Organization: University of Rochester Lines: 18 In article <1195@atux01.UUCP> jlc@atux01.UUCP (J. Collymore) writes: >Is there any way in HyperCard (HC) 1.2.1 that I can have a "find" locate >something on a specified field, return some value for the line that the >searched for object resides on in that field, and then use the "put" command >to clear out the found object on the designated line? > on delFindLine findText find findText if the result is not "No match" then -- or whatever HC returns on no match get the foundLine put it -- show you what was found do "delete" && it -- delete the line that was found end if end delFindLine Larry Landry University of Rochester