跳轉到內容

Rebol 程式設計/啟動

來自華夏公益教科書
LAUNCH value /reboot /uninstall /link url /quit /secure-cmd /as-is /install 

啟動一個新的 REBOL 直譯器程序。

LAUNCH 是一個原生值。

  • value -- 命令列引數(型別:any-string)
  • /reboot -- 保留
  • /uninstall -- 重新啟動並使用解除安裝選項
  • /link -- 保留
    • url -- (型別:any)
  • /quit -- 首先啟動,然後退出
  • /secure-cmd -- 保留
  • /as-is -- 命令列引數不帶引號
  • /install -- 重新啟動並使用安裝選項

原始碼

[編輯 | 編輯原始碼]
launch: native[
    "Launches a new REBOL interpreter process." 
    value [any-string!] "The command-line arguments" 
    /reboot "Reserved" 
    /uninstall "Restart with uninstall option" 
    /link "Reserved" 
    url 
    /quit "Launch first, then quit" 
    /secure-cmd "Reserved" 
    /as-is "No quotes around command line argument" 
    /install "Restart with install option"
]
華夏公益教科書