Reading a file as a stream
    Brian T Rice 
    water at tunes.org
       
    Fri May 30 11:59:58 PDT 2003
    
    
  
On Fri, 30 May 2003, Paul Dufresne wrote:
> Let's say I want to read 'license.txt' as a stream.
> I have tried:
> lobby addSlot: #p.
> p: (FileStream newForInputNamed: 'license.txt').
> p next.
> But this gives NIL.
>
> Is it supposed to work that way?
Definitely not. Some initial playing around reveals that there's a logical
screw-up in there. I'll look further.
-- 
Brian T. Rice
LOGOS Research and Development
http://tunes.org/~water/
    
    
More information about the Slate
mailing list