On Mon, 07 Mar 2005 08:15:05 +0100, SQLAB <[EMAIL PROTECTED]> wrote:
>=20
> Hi Ka=ED
>=20
> use this
>  >> select block to-set-word "city"
> =3D=3D "kelowna"

or=20
 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,=20
 config: construct load/all %config-file.r
>=20
> AR
>=20
> Kai Peters wrote:
>=20
> >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"]
> >=3D3D=3D3D [name: "kai" city: "kelowna" year: "2005"]
> >
> >
> >
> >>>select blk "kai"
> >>>
> >>>
> >=3D3D=3D3D city:
> >
> >
> >
> >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
> >>>
> >>>
> >=3D3D=3D3D none
> >
> >
> >
> >>>select blk city
> >>>
> >>>
> >** Script Error: city has no value
> >** Near: select blk city
> >
> >
> >
> >
> --
> To unsubscribe from the list, just send an email to rebol-request
> at rebol.com with unsubscribe as the subject.
>=20
>=20


--=20
-Volker

"Any problem in computer science can be solved with another layer of
indirection. But that usually will create another problem." David
Wheeler
-- 
To unsubscribe from the list, just send an email to rebol-request
at rebol.com with unsubscribe as the subject.

Reply via email to