||THE HYPERCARD CENTER
Note: This is a work in progress and will be formatting errors. Read more about the project on the home page.
Value returned: a line expression equal to the line of a field where the most recent
find command located its target string. If nothing was found, it returns
The line expression has the following form:
line i of card field n
line i of bkgnd field n
i is the line number and
n is the number of the field.
Note: A return character determines a line, not the line wrap. A line that wraps and is displayed as two lines is treated as one line by HyperTalk.
put the foundLine
-- Using foundLine to select a line:
find currentTopic in field "Topics"
select word 1 to 2 of the foundLine
set cursor to watch
find string "on foundLineDemo"
answer "The foundLine is" && the foundLine & "." & return ¬
& return & "The value of the foundLine is “" &¬
the value of the foundLine & "”."
« foundField | HyperTalk Reference
| foundText »
(March 24, 2022)
Switch to Modern View