[REBOL] Re: Path into a block
From: tim-johnsons::web::com at: 14-Jul-2006 9:17
* Steven White <swhite-ci.bloomington.mn.us> [060713 12:25]:
Hi Steven:
> *----------- demo script *------------
> REBOL []
> HTMLCAL-SLOTS: [
> [" " " "]
> [" " " "]
> [" " " "]
> [" " " "]
> [" " " "]
> [" " " "]
> [" " " "]
> ]
> HTMLCAL-INDEX: 5
>
> print "print type? HTMLCAL-SLOTS/5"
> print type? HTMLCAL-SLOTS/5
>
> print "print HTMLCAL-SLOTS/5"
> print HTMLCAL-SLOTS/5
>
> print "print type? HTMLCAL-INDEX"
> print type? HTMLCAL-INDEX
>
> print "print HTMLCAL-INDEX"
> print HTMLCAL-INDEX
>
> print "print HTMLCAL-SLOTS/HTMLCAL-INDEX"
> print HTMLCAL-SLOTS/HTMLCAL-INDEX
>
> *-------- end of demo script---------
;; try this
HTMLCAL-SLOTS/:HTMLCAL-INDEX
;; now try this
>> test: [a 1 b 2 c 3]
== [a 1 b 2 c 3]
>> test/a
== 1
>> d: 'b
== b
>> test/:d
== 2
>>
:-) The fun has just begun!
tj
--
Tim Johnson <tim-johnsons-web.com>
http://www.alaska-internet-solutions.com