I am very new to REBOL (i.e. yesterday).
I use the term “metaprogramming” here, but I'm not sure how accurate it is. Anyway, I'm trying to figure out how REBOL can execute words. To give an example, here is the code in TCL:
> # puts is the print command
> set x puts
> $ x "hello world"
hello world
I tried many different ways to do something similar in REBOL, but cannot get the same effect. Can someone suggest a few different ways to do this (if possible)?
Thank.
source
share