At 01:44 PM 12/5/99 +0800, you wrote:
> question of load function
>try below:
>data: load [REBOL [title: "load testing"] "hello" 34 [EMAIL PROTECTED] ]
>print get head data 'title
>
>REBOl return a ERROR,but please refer to manual "Loading data" part
>(www.rebol.com/manual/opeloading.html),it should return string "load testing"
>what happened? how to get data of the header?

These statements contained on the page
(www.rebol.com/manual/opeloading.html)are incorrect as of REBOL 2.2:
"data: load script"

"print type? head data
object!
print get head data 'title
example"

It doesn't work, regardles of whether script evaluates to a file containing
the script, a braced string containing the same script or a block
containing the script.

You should report it as a documentation bug, if you haven't already done so.

Elan

>
>
>

Reply via email to