Question line-count of a stream

Platform: Linux
Version: 11.3
Text-based ABL


I have a question. Does LINE-COUNT() only work for paged streams? Is there a built-in function keeping track of non-paged streams?
 

jongpau

Member
No, line-counter only works on paged streams. It is intended help you to keep a count of what the line and on which page (page-number) as line numbers cycle back to 1 on a page-change. To keep a line counter of a non-paged stream you could use an integer variable and increment on output of each line.
 
Top