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

[REBOL] Re: Vertical formatting etc

From: d4marcus:dtek:chalmers:se at: 3-Oct-2001 20:56

On Tue, 2 Oct 2001, mgkiourt wrote:
> a)If I have e.g., ["Put" "them" "together"] how will I take ["Put them together"] > b)If I have [a b c] how will I take [a > c) If I have [0 0 0 0] how will I ask to print any non-zero numbers
Others have given more verbose answers, so here are the brief versions: a) to-block mold form ["Put" "them" "together"] b) to-block foreach i [a b c] [repend "" [i newline]] c) foreach i exclude copy [0 0 0 0] [0] [print i] Marcus ------------------------------------ If you find that life spits on you calm down and pretend it's raining