On Thu, Dec 23, 2010 at 5:18 AM, Jon Harper <[email protected]> wrote:
> You can always open the file for reading and then read the lines that you 
> want :
>  "data.txt" utf8 [ A ] with-file-reader
> where A can call readln or read to read the file lines. For example,
>  "data.txt" utf8 [ 10 [ readln ] replicate ] with-file-reader

Also, take a look at the each-line combinator. It is used to implement
file-lines.

Slava

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to