Pharo vs GLASS: Stream position difference

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Pharo vs GLASS: Stream position difference

Thelliez
Here is another interesting one:

( WriteStream on: String new ) position

In Pharo = 0
in Glass = 1



Thierry
Reply | Threaded
Open this post in threaded view
|

Re: Pharo vs GLASS: Stream position difference

Dale Henrichs
There are a couple of Stream classes named AnsiReadStream and
AnsiWriteStream that do the right thing ... in recent versions of GLASS,
the messages readStream and writeStream should return an ANSI compliant
stream class ...

Streams are the big bugaboo in GLASS ... besides position differences
the instance variables are named differently so subclassing is beastly ...

With 3.0 we will have ANSI compliant Read/Write streams _and_ an
implementation that matches (instance variable etc.) the common
implementations of the ANSI classes ...

Dale

On 04/07/2011 03:37 PM, Thierry Thelliez wrote:

> Here is another interesting one:
>
> ( WriteStream on: String new ) position
>
> In Pharo = 0
> in Glass = 1
>
>
>
> Thierry