foundLine

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
the foundLine
foundLine()
Summary

Returns a chunk expression describing the line in which text was located by the most recent find command.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
the foundLine
if value(the foundLine) contains "*" then answer value(the foundLine)
Values
NameTypeDescription
return

The foundLine function returns a chunk expression of the form line lineNumber of field fieldNumber.

RelatedKeyword: selection, line
Command: find
Function: foundField, mouseLine
Control Structure: function
Glossary: current card, command, return, chunk expression
Description

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

The foundLine 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 foundLine function returns empty.

To get a chunk expression describing the word or string that was found, use the foundChunk function.

Tagsdatabase