[squeak-dev] MutliByteFileStream and CrLfFileStream (and windows)

Louis LaBrunda Lou at Keystone-Software.com
Thu Aug 14 13:23:56 UTC 2014


Hi Chris,

I don't know if this will help but VA Smalltalk has a global variable (a
string in a pool dictionary) called "LineDelimiter".  When the image starts
up it checks to see what platform (OS) it is running on and sets it to CrLf
or Lf as appropriate.  This allows developers to use LineDelimiter wherever
they want (where they need to match the platform) and not need to check the
platform all over the place.  Maybe it will make life a little easier for
you.

Lou
-----------------------------------------------------------
Louis LaBrunda
Keystone Software Corp.
SkypeMe callto://PhotonDemon
mailto:Lou at Keystone-Software.com http://www.Keystone-Software.com



More information about the Squeak-dev mailing list