The original routine also had a line buffer and works with one character at once, so the readln was unnecessary. Futhermore the modified routine takes care of the 3 forms, but the singles #10 and #13 without distintion.In this day and age, any textfile routine should accept all 3 forms of lineendings, on any platform. If the proper normal Pascal constructs (readln) had been used, this would have worked.
Oh! You have gained whisky.There are even two mistakes in the second ifdef linux:
- {$ifdef linux or stdtxt} is equivalent to ifdef linux (everything after the second space is ignored)
As bugged terminal is in Linux.. I love to shot towards fly with a big gun. :evil:- linedrawings are not dependant on OS, but on terminal. This is not as easily fixable though
Bookmarks