FileSystemWriteStream>>next??

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

FileSystemWriteStream>>next??

vonbecmann
Hi all,

  Anybody knows why the FileSystemWriteStream doesn't implement the message next?

Thanks.
  

--
Bernardo E.C.
Reply | Threaded
Open this post in threaded view
|

Re: FileSystemWriteStream>>next??

EstebanLM
mmm... because is a "write" stream?

On Jun 24, 2012, at 1:21 AM, Bernardo Ezequiel Contreras wrote:

> Hi all,
>
>   Anybody knows why the FileSystemWriteStream doesn't implement the message next?
>
> Thanks.
>  
>
> --
> Bernardo E.C.


Reply | Threaded
Open this post in threaded view
|

Re: FileSystemWriteStream>>next??

LogiqueWerks
In responding to users, one person's humour is another's sarcasm.
Just a note ... no personal criticism intended.

A user list is not a developer list.  This may relate to why so few
young women are involved ... the subtle putdown from a guy can go over
very badly for the < 25 yr old single woman ... in my experience.

The user is the developer's guest, in your home,

So there are NO dumb questions.  Not >>readNext or >>writeNext or why
can't I test for when the counter finally gets divided by 0 ... or I
made a different Class class ....

por favor

Reply | Threaded
Open this post in threaded view
|

Re: FileSystemWriteStream>>next??

vonbecmann
In reply to this post by EstebanLM
Yes, you are right.
In Pharo 1.4 
The problem was that when you evaluate

 FileStream fileNamed: 'hello.t'

it gives you an instance of MultiByteFileStream, and it's a read write stream.

But when you evaluate 

(FileSystem disk workingDirectory resolve: 'hello.t') writeStream.

it gives you a FileSystemWriteStream and it's just a write stream.

I made a mistake when i changed my pet project. ( i was confused)


Thanks.

On Sun, Jun 24, 2012 at 6:28 AM, Esteban Lorenzano <[hidden email]> wrote:
mmm... because is a "write" stream?

On Jun 24, 2012, at 1:21 AM, Bernardo Ezequiel Contreras wrote:

> Hi all,
>
>   Anybody knows why the FileSystemWriteStream doesn't implement the message next?
>
> Thanks.
>
>
> --
> Bernardo E.C.





--
Bernardo E.C.