On Friday, February 13, 2004, at 12:14 AM, [EMAIL PROTECTED] wrote:
If you have troubles determining how many paragraphs there are in a
paragraph array then try this:
-----------------------
put 1 into countNum
repeat
put theParagraphArray[countNum] into zap
if zap = empty then
put (countNum - 1) into timesP
exit repeat
end if
add 1 to countNum
end repeat
-- timesP now contains the number of <p>...</p> sets that where found.
-----------------------
An easier way to get the number of paragraphs would be:
put the keys of theParagraphArray into theKeys put the number of lines of theKeys into numParagraphs
-- Frank
_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution