A fixed number of lines is a quite rare case, to account for a variable number of lines to be read, a character sequence can be used to identify the end of the block of data.
e.g. 2 new lines MFI (<< end of DATA block("\!n\!n"))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.