[REBOL] SDK newbie dumb question
From: swhite::ci::bloomington::mn::us at: 2-Jun-2006 11:27
I just purchased the SDK and have found a work-related use for it, so am eager to show
it off. I have run into a little problem which I have encapsulated into this test script
(at the end of this message).
If I bring up the REBOL interpreter and "do" this script, it works.
If I try to encap the script by dragging it onto enface or enpro, or by running enface
or enpro and entering the script name interactively, the resulting .exe file does NOT
run, and gives the following message:
** Script Error: layout has no value
** Near: MAIN-WINDOW: layout [
title "Main Window"
]
view MAIN-WINDOW
** Press enter to quit...
This has got to be something dumb, but what? Yes, I did read the manual.
Thank you. (If the solution is in the manual in plain sight, feel free to point that
out.)
Test script follows:
REBOL [
]
MAIN-WINDOW: layout [
title "Main Window"
]
view MAIN-WINDOW
Steven White
City of Bloomington
1800 W Old Shakopee Rd
Bloomington MN 55431-3096
USA
952-563-4882 (voice)
952-563-4672 (fax)
steven.white-ci.bloomington.mn.us