【问题标题】:rebol --do and red --dorebol --do 和 red --do
【发布时间】:2017-10-21 13:43:07
【问题描述】:

为什么 rebolview --do "print 1 + 2" 不在控制台显示结果?

为什么 red --do "print 1 +2" 会报错

*** Error: cannot access argument file:
print 1 + 2
--== Red 0.6.3 ==-- 

【问题讨论】:

    标签: rebol red


    【解决方案1】:

    这里rebolview在控制台显示结果

    3
    >> 
    >> help system        
    SYSTEM is an object of value: 
       version         tuple!    2.7.8.4.3 
       build           date!     6-Jan-2011/22:55:55-8:00 
       ..
    

    但 Red 不知道命令 --do。所以它会尝试运行文件 --do ..

    您可以看到 Red 目前支持的内容,例如在 Linux 上使用

    ./red  -h
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-07-03
      • 1970-01-01
      • 1970-01-01
      • 2013-12-01
      • 2015-05-24
      相关资源
      最近更新 更多