Let's say I have a REBOL script in another file (imported.r
) that looks like this:
REBOL [ author: {Greg} title: {Awesome REBOL Code} ] x: 3
How can I import this file into another script and gain access to the contents of the REBOL header? I'm aware of load/header
but I can't seem to do anything with it.
imported: context load/header %imported.r
What do I do now to access the header of imported.r
as an object!
?