Joel Neely wrote: > Since you just want to exclude subdirectories from the list of > contents of the current directory, you could write > > foreach elt read %. [if not dir? elt [print elt]] > > instead.
Andrew Martin wrote: > And this is far more simpler: > foreach File read %. [if #"/" <> last File [print File]] Both are nioe, but as Andrew pointed out recently, using the trailing "/" method to determine directories overcomes a bug in 'dir? ./Jason -- To unsubscribe from this list, please send an email to [EMAIL PROTECTED] with "unsubscribe" in the subject, without the quotes.
