Difference between revisions of "$readn"

From Scriptwiki
Jump to: navigation, search
m
m
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
 
== Examples ==
 
== Examples ==
 
  echo -ag [[DollarPlus|$+]](",$read(Example.txt),") is on line number $readn
 
  echo -ag [[DollarPlus|$+]](",$read(Example.txt),") is on line number $readn
== Also See ==
+
== See Also ==
 
* [[$read]]
 
* [[$read]]
 +
 +
[[Category:File and Directory Identifiers]]

Latest revision as of 10:11, 2 July 2007

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