Shivanand Hiremath ([log in to unmask]) wrote:
: I am facing the following strange behaviour of the pascal 'READLN()' and
: 'READ()' functions on the MPE.
<SNIP>
: There is a file whose record size is greater than 255 bytes. This file can
<SNIP>
: from 255 till the end of that record. The next call to readln()
: reads (at the most 254 chars) FROM THE BEGINNING OF THE NEXT RECORD.
: Any explaination for this strange behavior?
Pascal files of type TEXT (as accessed by readln) are limited to 254 bytes
with carriage control. See the Pascal Programmer's Guide page 5-27.
Your error is in not using the language properly. Open the files with
the appropriate file definition and you can do what you intend.
--
James Overman HP Support Technology Lab Roseville, CA