Tried it on a file which has a $0D for linefeed but that does not stopped ReadLine. (OS4)
The file content starts like this:
Here is the script:
Code: Select all
OpenFile(1,"ram:pdf.pdf")
a=ReadLine(1)
DebugPrint(HexStr( StrLen(a)))
DebugPrint(a)
CloseFile(1)
Code: Select all
10.RAM Disk:> hollywood Unnamed.hws
$D3
%PDF-1.31 0 obj<</Type /XObject /Subtype /Image /Name /Im1 /Width 1654 /Height 2338 /Length 174931/ColorSpace /DeviceRGB /BitsPerComponent 8 /Filter [ /DCTDecode ] >> streamÿØÿà
10.RAM Disk:>