跳轉到內容

Rebol 程式設計/run

來自華夏公益教科書,自由的教科書
RUN file /as suffix 

執行與檔案關聯的系統應用程式。

RUN 是一個原生值。

  • file -- 要開啟的檔案(檔案、URL)或要執行的命令(字串)。(型別:檔案 url 字串)
  • /as
    • suffix -- (型別:字串 檔案)

原始碼

[編輯 | 編輯原始碼]
run: native[
    {Runs the system application associated with a file.} 
    file [file! url! string!] {The file to open (file, URL) or command to run (string).} 
    /as suffix [string! file!]
]
華夏公益教科書