Newbie SELECT problem
[1/3] from: kpeters::vu-ware::com at: 6-Mar-2005 7:59
Hi ~ am trying to select from a decode-cgi block but cannot select set-words?? What am I doing wrong? As always, thanks for any help Kai
>> probe blk
[name: "kai" city: "kelowna" year: "2005"] == [name: "kai" city: "kelowna" year: "2005"]
>> select blk "kai"
>> select blk city:
** Script Error: city needs a value ** Near: select blk city:
>> select blk 'city:
** Syntax Error: Invalid word -- 'city: ** Near: (line 1) select blk 'city:
>> select blk 'city
>> select blk city
** Script Error: city has no value ** Near: select blk city
[2/3] from: SQLAB:gmx at: 7-Mar-2005 8:15
Hi Kaí use this
>> select block to-set-word "city"
== "kelowna" AR Kai Peters wrote:
[3/3] from: volker:nitsch::gmail at: 7-Mar-2005 11:46
On Mon, 07 Mar 2005 08:15:05 +0100, SQLAB <[SQLAB--gmx--net]> wrote:
> Hi Ka=ED > > use this > >> select block to-set-word "city" > == "kelowna"
or select [name: "kai" city: "kelowna" year: "2005"] [name:] ;put set-word in a block or, the typical way: obj: construct [name: "kai" city: "kelowna" year: "2005"] obj/name this is often used for configs, config: construct load/all %config-file.r
> AR > Kai Peters wrote:
<<quoted lines omitted: 60>>> To unsubscribe from the list, just send an email to rebol-request > at rebol.com with unsubscribe as the subject.
-- -Volker Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem. David Wheeler
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted