[REBOL] Re: Project introduction ... Re: Re: RFC: Rebol Framework
From: reffy:ulrich at: 8-Oct-2002 16:15
So, you are saying that you have name/value pairs to associate to an id?
id:'propname' Is propvalue
where propname is a user defined property name (such as category, name, zip, etc) and
propvalue is any allowed value. Note that the usage of ':' is not Rebol's usage (below).
It is merely to associate properties to a value.
id:'category' 'name' 'zip' Is 'chalet' 'BestChalet' 75002
id:'category'
=='chalet'
id:'name'
=='BestChalet'
id:'zip'
75002
id:'zip' Is 75003 --oops, to correct an error
id: --list the property names
=='category' 'name' 'zip'
id:(id:) --list the property values
'chalet' 'BestChalet' 75003