FileStream next

Paul Dufresne dufrp at hotmail.com
Thu Jun 19 18:31:18 PDT 2003


Tried the next of FileStream.
But read: into: of flush don't exist.
So I replace it by next: into.

But now, the into: must be a Sequence:
Slate 3> p: (FileStream newForInputNamed: 'license.txt').
<@_:  traits collection position readLimit writeLimit file>
Slate 4> p next.

*** - <@*PRIMITIVE-CLONEABLE*: traits> is not a sequence

G:\slate2\slate>slate.fas

And this is a ByteArray.
Somehow ByteArray and Array are not Sequence.
I means, Array is: Sequence and ByteArray is: Sequence are false.

Array and ByteArray "are" Sequence in the sense that:
ByteArray traits addDelegate: #parent2 valued: Sequence traits.

But I guess it is not as good as derive: would be.

Hope I am clear enough.
What should be done with that?

_________________________________________________________________
MSN Messenger : discutez en direct avec vos amis !  
http://messenger.fr.msn.ca/




More information about the Slate mailing list