$readn

From Scriptwiki
Revision as of 11:11, 2 July 2007 by Cail (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This returns the line number that $read() previously returned.

$readn

If $readn returns 0 $read() failed to match any content.

Examples

echo -ag $+(",$read(Example.txt),") is on line number $readn

See Also