--- IB MailSpace Ad http://www.instantbuzz.com/b/?4f36da92_15t ----
How to Catch a Cheating Lover: http://www.instantbuzz.com/b/?4f36da92 ---------- Advertise Here for Free - Ask Me How ----------- > Hi Rebolers: > Let say I have a rebol file with a rebol header > rebol[ > file: %test.r > ] > ;; some values > a: 1 > b: 2 > ;; EOF > > and I load it as: >>> B: context load %test.r > ;; access values as members of 'B context >>> b/a > == 1 >>> B/b > == 2 > ;; 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! Andrew Martin -- To unsubscribe from the list, just send an email to lists at rebol.com with unsubscribe as the subject.
