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

[REBOL] Re: files out of order

From: ryanc::iesco-dms::com at: 30-Mar-2001 9:47

The functions submitted "work," but were designed to achieve different outcomes. Scott's will sort the message according to contents, Anton's by filename, and mine sorted by file date. --Ryan [ryan--christiansen--intellisol--com] wrote:
> >> message-block: copy [] > >> foreach file-name sort/reverse message-directory [ > >> file-contents: read file-name > >> insert message-block file-contents > >> ] > >> > >> sorting the message-directory before use, not the message-block > >> with the contents of each file. > > >Is this any different than what I suggested yesterday? I agree with the > >solution, I just don't understand why you found this version to work but > not > >mine. Just curious. > > It does seem strange that > > message-block: copy [] > foreach file-name sort/reverse message-directory [ > file-contents: read file-name > insert message-block file-contents > ] > > and > > message-block: copy [] > foreach file-name message-directory [ > file-contents: read file-name > insert message-block file-contents > sort/reverse message-block > ] > > wouldn't accomplish the same thing. I'd like to know, too. > > Ryan C. Christiansen > Web Developer > > Intellisol International > 4733 Amber Valley Parkway > Fargo, ND 58104 > 701-235-3390 ext. 6671 > FAX: 701-235-9940 > http://www.intellisol.com > > Global Leader in People Performance Software > > _____________________________________ > > Confidentiality Notice > This message may contain privileged and confidential information. If you > think, for any reason, that this message may have been addressed to you in > error, you must not disseminate, copy or take any action in reliance on it, > and we would ask you to notify us immediately by return email to > [ryan--christiansen--intellisol--com] > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Ryan Cole Programmer Analyst www.iesco-dms.com 707-468-5400 I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world. -Einstein