Home
The HyperCard Center
HyperTalk Reference
Home » HyperTalk Reference » foundField

Note: This is a work in progress and many formatting issues have been fixed. Read more about the project on the home page.

foundField

the foundField

Value returned: a field expression that identifies the field in which the most recent find command located its target string. If nothing was found, it returns empty. The field expression returned has one of the following forms:

card field n
bkgnd field n

where n is the number of the field.

Examples

find "Kathy"
put the foundField

Demo Script

on foundFieldDemo
find "foundFieldDemo"
answer "The foundField is" && the foundField & "." & ¬
return & return &¬
"The name of the foundField is" && the name of the foundField
"."
end foundFieldDemo

Related Topics

Placeholders

HyperTalk Reference

Version 0.8b4 (July 4, 2025)

Made with Macintosh

Switch to Retro View