Ken Cornetet wrote:
Actually, I think all versions of windows WILL recognize a ^Z as the end
of file if files are opened in text mode.

Windows has nothing to do with it. It is the individual program (or, more probably, the run-time library of the programming language used) that decides.


BTW, this is a remnant of CPM support. In CPM, disk file size was
recorded as the number of 256 byte sectors (512?, 128?), so text files
had to have an EOF marker, which was ^Z

128

The stupid thing is that DOS 1.0 BASIC carried over the limitation from CP/M. Since DOS 1.1, it's been obsolete, but yet it lives, it lives, it lives!

--
John W. Kennedy
"Those in the seat of power oft forget their failings and seek only the obeisance of others! Thus is bad government born! Hold in your heart that you and the people are one, human beings all, and good government shall arise of its own accord! Such is the path of virtue!"
-- Kazuo Koike. "Lone Wolf and Cub: Thirteen Strings" (tr. Dana Lewis)
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to