[Please forward to the ML if this arrives there garbled.]
On Mon, Jan 19, 2009 at 6:51 AM, Mat Bettinson <[email protected]> wrote:
> cgidatain: read-cgi
> cgidata: construct decode-cgi cgidatain
1) Make a template object with your default values:
template: context [
digital: "all"
; ...
]
2) Use construct/with:
cgidata: construct/with decode-cgi cgidatain template
3) Now, if digital was not specified in the query, the expression:
cgidata/digital
will just be "all".
HTH,
Gabriele.
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.