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

[REBOL] Re: Re(2): newbie!?

From: jnk:clix:pt at: 1-Dec-2000 3:25

yes... its actually a game im workin' on... each button inserts vallues in a variable... I want to know how to be able to return only the repeated vallues , repeated 3 times ...not less!!! this is what I came up with to return different vallues expl: [1 2 1 3 1 2] unique expl [1 2 3] but I want to do the opposite, a function that returns vallues repeated a predetermined number of times, choosing 3x in this case ... vallue "1" would be returned is it possible??? function expl [1 1 1] thnkx so much!!! Im really excited with this... never programmed in my life!!! ;o)