0

根据这个 http://www.rebol.com/docs/changes.html#section-1.7

--do 应该再次工作

但是当我在 Rebview 1.3.2 / Core 2.6.3 rebol.exe helloworld.exe 上测试时 --do "verbose: true"

使用 helloworld.r:

probe verbose
input

这会触发错误

** 脚本错误:verbose 没有值 ** Near:探测详细输入

那么它最终是否再次起作用?:)

4

1 回答 1

4

解释器对命令行选项的顺序很敏感。在脚本名称对我有用之前

   rebview  --do "verbose: true" helloworld.r

helloworld.r是:

  rebol []
  probe verbose
  input
  halt

我看到一个 REBOL 控制台输出:

 true
于 2009-08-31T14:37:57.727 回答