NAME
nfii Get the number of interpretation paragraph in a txt file
USAGE
nfii [id_file]
PARAMETERS
id_file : the id number of the interpretation file.
RETURN
number of item in interpretation file.
OPTIONS
None
EXAMPLE
set nfile 1
set nitems [nfii $nfile]
for {set i 1} {$i <= $nitems} {incr i} {
PutTxt -nonewline "N° $i ="
PutAstroTxt $i $nfile -notxt -idstr
PutTxt ""
}
PutTxt "Total $nitems paragraphs"
Output:
N° 1 ="Warning"Warning N° 2 ="All planets above horizon"All planets above horizon N° 3 ="All planets under horizon"All planets under horizon N° 4 ="All planets at As side"All planets at As side N° 5 ="All planets at Ds side"All planets at Ds side ... N° 1570 ="FO41"Fortune conjunction Alpha Piscis Aust, Fomalhaut Total 1570 paragraphs