跳轉到內容

Rebol 程式設計/get-env

來自 Wikibooks,開放世界中的開放書籍
GET-ENV var 

獲取作業系統環境變數的值。

GET-ENV 是一個原生值。

  • var -- 要查詢的變數(型別:字串)

原始碼

[編輯 | 編輯原始碼]
get-env: native[
    {Gets the value of an operating system environment variable.} 
    var [string!] "Variable to lookup"
]
華夏公益教科書