As per Core User's Guide 2.2.0, on "Ports Access to Files" page at section "Line Access", I tried as follows: >> fp: open/lines %file.txt >> print first fp I wanted the gold, and I got it -- >> forall fp [if find first fp "gold" [print first fp]] I wanted the gold, and I got it -- And somehow the gold isn't all. == false >> All seems going well. For my curiosity, I repeated the last statement: >> forall fp [if find first fp "gold" [print first fp]] == none Opps. fp must be at its tail. So, I tried: >> tail? fp == true >> head fp >> head? fp == false It puzzled me! Is it a bug or is it me? I am still relatively new to REBOL in spite of my lonnnng experience in programming. Geo Massar Veteran programmer
