Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Help for a newbie

From: sanghabum:aol at: 8-Jun-2001 6:47

Hi Ed,
> If I read a directory as in: > > a: read %. > > and then try to find a file name within a, I consistantly receive a null > response. What am I missing? I am trying things such as: > > find a "foo.txt" > find a %foo.txt
Find a %foo.txt works fine for me. Are you sure you are reading the directory you think you are reading? Try: a: read %. foreach xx a [print xx] And see if foo.txt is listed. Another possibility: Is foo.txt a directory? If so, your Find should be: find a %foo.txt/ --Colin