foundField

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the foundField
foundField
Summary

Returns the field in which text was located by the most recent find command.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the foundField
if word 2 of the foundField is the number of field 1 then findItAgain
select the text of the foundField
Values
NameTypeDescription
return

The foundField function returns the number property of the field.

RelatedKeyword: field, selection
Command: find
Function: number
Control Structure: function
Glossary: property, current card, command, return
Description

Use the foundField function after a find command to determine where the text was found.

The foundField function is cleared when the text selection moves into the foundField or when the current card is closed. At the same time, the box the find command draws around the found text disappears. If there is no box, the foundField function returns empty.

Tagsdatabase