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

[REBOL] Re: RANDOM's & PICK's args

From: rebol665:ifrance at: 20-Jan-2002 10:50

Hi Donald With Rebol, you can use random directly on a block of string to get the same block randomized. colors: ["red" "green" "yellow" "blue" "white"] while [not tail? colors] [ colors: random colors print first colors remove colors ] ;blue ;yellow ;green ;red ;white HTH Patrick