查看错误 Rebol 3

view error Rebol 3

我正在尝试向我的程序中添加一个图形用户界面,但这样做有困难。

>> system/version
== 3.0.0.4.40

下载自http://atronixengineering.com/downloads.html

首先,我在哪里可以找到我的解释器版本 guie 的示例和文档?

有一些documentation,但没用

REBOL []
do %./r3-gui.r3

view [
    title "Simple Form"
    panel 2 [
        label "Name:"
        field
        label "Message:"
        area
    ]
    button "Cancel" close
]

错误信息:

** GUI ERROR: Cannot parse the GUI dialect at: panel 2 [
    label "Name:"
    field
    label "Message:"
    area
]
button "Cancel"

编辑:panel 2 returns 一个错误。如果我删除它,button 会出现另一个错误。

我试过开发​​版。这是有效的。

load-gui 
view [
  title "Simple Form"
  vpanel  [
    label "Name:"
    field
    label "Message:"
    area
  ] options [box-model: 'frame]
  button "Cancel" on-action [close-window face]
]

有一个demo application,可以从demo入手,作为例子。

您提到的文档是指 Carl S. 的实现,它与 atronix 和 saphirion 版本不同。