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

Creating words

 [1/8] from: carlos:lorenz:gmai:l at: 24-Apr-2009 16:26


Hi list, Letīs say I have the block [ "one" "two" "three"] Which is the best way to create the words one, two, three assigning values 1,2,3 to them? Thanks -- Carlos Lorenz Unidade Lorenz Ltda www.revistaeletronica.com.br (11) 4034 1971 (11) 7100 1540 pessoal

 [2/8] from: petr:krenzelok:seznam:cz at: 24-Apr-2009 22:11


I am not a guru, but I found my way, because REBOL is so cool :-) ->> blk: ["one" "two" "three"] ->> for i 1 length? blk 1 [set to set-word! blk/:i i] Cheers, -pekr- Carlos Lorenz napsal(a):

 [3/8] from: carlos::lorenz::gmail::com at: 24-Apr-2009 17:20


Petr, You are good! I say this after all these years that I use REBOL :) Thanks for your help 2009/4/24 Petr Krenzelok <petr.krenzelok-seznam.cz>
> I am not a guru, but I found my way, because REBOL is so cool :-) > ->> blk: ["one" "two" "three"]
<<quoted lines omitted: 16>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz Unidade Lorenz Ltda www.revistaeletronica.com.br (11) 4034 1971 (11) 7100 1540 pessoal

 [4/8] from: tom:conlin:gmai:l at: 24-Apr-2009 13:20


w: [ "one" "two" "three"] v: [1 2 3] if they weren't words already... forall w [change w to word! first w] set w v probe reduce w Carlos Lorenz wrote:

 [5/8] from: carlos:lorenz:gma:il at: 24-Apr-2009 17:23


That$B!-(Bs cool too! Thanks! 2009/4/24 tomc <tom.conlin-gmail.com>
> w: [ "one" "two" "three"] > v: [1 2 3]
<<quoted lines omitted: 16>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz Unidade Lorenz Ltda www.revistaeletronica.com.br (11) 4034 1971 (11) 7100 1540 pessoal

 [6/8] from: henrikmk::gmail::com at: 25-Apr-2009 12:49


On Fri, Apr 24, 2009 at 10:23 PM, Carlos Lorenz <carlos.lorenz-gmail.com> wrote:
> That$B!-(Bs cool too! > Thanks!
<<quoted lines omitted: 19>>
>> values >> > 1,2,3 to them?
Also possible: w: [ "one" "two" "three"] v: [1 2 3] set w: load form w v probe reduce w -- Regards, Henrik Mikael Kristensen

 [7/8] from: jeanpierre::nicol::free::fr at: 26-Apr-2009 12:32

unscribe


Petr, You are good! I say this after all these years that I use REBOL :) Thanks for your help 2009/4/24 Petr Krenzelok <petr.krenzelok-seznam.cz >
> I am not a guru, but I found my way, because REBOL is so cool :-) > - > > blk: ["one" "two" "three"]
<<quoted lines omitted: 16>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz Unidade Lorenz Ltda www.revistaeletronica.com.br (11) 4034 1971 (11) 7100 1540 pessoal

 [8/8] from: carlos::lorenz::gmail::com at: 27-Apr-2009 10:22

Re: Creating words


That$B!-(Bs cool too Henrik, thanks! 2009/4/25 Henrik Mikael Kristensen <henrikmk-gmail.com>
> On Fri, Apr 24, 2009 at 10:23 PM, Carlos Lorenz <carlos.lorenz-gmail.com> > wrote:
<<quoted lines omitted: 34>>
> To unsubscribe from the list, just send an email to > lists at rebol.com with unsubscribe as the subject.
-- Carlos Lorenz Unidade Lorenz Ltda www.revistaeletronica.com.br (11) 4034 1971 (11) 7100 1540 pessoal

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted