[REBOL] Re: Rebol header when 'loading a file
From: tim::johnsons-web::com at: 14-Aug-2005 17:21
* A J Martin <[AJMartin--orcon--net--nz]> [050814 16:18]:
> > ;; how do I access the rebol header itself?
> > ;; Somehow I get behind on current documentation.
> > ;; Pointers to docs are greatly welcome!
>
> Hi, Tim.
>
> Try using a 'load like this:
>
> >> x: load/header %test.r
> == [make object! [
> Title: "Untitled"
> Date: none
> Name: none
> Version: none
> File: %test.r
> ...
>
> ;;The script is loaded as a block.
>
> >> b: context next x
> >> b/a
> == 1
> >> b/b
> == 2
>
> I hope that helps!
It does. I forgot about /header
thanks
tj
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.alaska-internet-solutions.com