[REBOL] Path evaluation
From: krobillard:san:rr at: 1-May-2003 20:49
Is there a simple, general purpose path evaluator in REBOL?
As an example, how would you go about getting the value 22 from p in the
obj: context [ var: 22 ]
After much fiddling I came up with this:
a: get first p
x: get in a second p
Of course, this assumes that the path begins with an object and has a length
of 2. Is there some method other than deconstructing the path manually? It
seems something simple like 'do p' should work.