|
From: Eric B. <er...@go...> - 2001-08-12 06:43:47
|
Christian Couder wrote:
>
> Yes it is slower to use a +, but if you really want speed you can always
> use
>
> put_string("Hello world !")
> put_string(eol)
Considering that 'eol' is "%R%N" under Windows, I don't think
that this will work with what some of the Eiffel compilers
currently provide us since it is likely that you will end
up with:
Hello world!%R%R%N
in your file, the %N (second character in 'eol') being
automatically converted to %R%N. To avoid this I would
have to use binary files instead of text files to
implement the KL_*_FILE classes, but I don't think that
SmallEiffel has a binary file class in its lib_std, and
it would not work with the std files (which are text
files) anyway.
--
Eric Bezault
mailto:er...@go...
http://www.gobosoft.com
|