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

[REBOL] Re: Strange behavior for dirs and files

From: robert::muench::robertmuench::de at: 23-Feb-2003 7:51

> -----Original Message----- > From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]] > On Behalf Of Anton > Sent: Sunday, February 23, 2003 4:03 AM > To: [rebol-list--rebol--com] > Subject: [REBOL] Re: Strange behavior for dirs and files > Gregg is right, dir? needs to be able to find the path > from wherever the current directory is.
Hi, it's always amazing that I'm still learning new things about Rebol :-))
> In this situation I usually just use > > foreach file read %. [if slash = last file [print file]]
And here is a new feature for me: slash (and backslash) are predefined words. Very interesting. Seems that I have to look at the Rebol dictonary more regulary. Robert