[REBOL] [REBOL] Reading REBOL header Re:

2000-04-08 Thread icimjs

Hi,

try:

>> print mold system/script/header

The objects fields will all be set to none, unless you do a script first.

At 04:37 PM 4/8/00 -0800, you wrote:
>According to rebol documentation, the 
>rebol header is an object.
>
>If so, how does the rest of the script file
>access the header?
>
>Given the following code:
>
>REBOL
>[
>Title: "Scan Web Sites"
>Date:   12-Nov-1997
>Author: ["Ema User" "Wasa Writer"]
>]
>print REBOL/Title
>; the line above generates the error message:
>** Script Error: Invalid path value: Title.
>** Where: print REBOL/Title
>
>what would be the correct syntax.
>Thanks
>Tim
>
>
>

;- Elan >> [: - )]




[REBOL] [REBOL] Reading REBOL header

2000-04-08 Thread tjohnson

According to rebol documentation, the 
rebol header is an object.

If so, how does the rest of the script file
access the header?

Given the following code:

REBOL
[
Title: "Scan Web Sites"
Date:   12-Nov-1997
Author: ["Ema User" "Wasa Writer"]
]
print REBOL/Title
; the line above generates the error message:
** Script Error: Invalid path value: Title.
** Where: print REBOL/Title

what would be the correct syntax.
Thanks
Tim