跳轉到內容

Rebol 程式設計/write-io

來自華夏公益教科書,開放的書,為開放的世界
WRITE-IO port buffer length 

低階寫入埠。

WRITE-IO 是一個本地值。

  • port -- 已經開啟的要寫入的埠 (型別:port)
  • buffer -- 用於寫入的緩衝區。 (型別:any-string)
  • length -- 要寫入的最大字元數 (型別:number)

原始碼

[編輯 | 編輯原始碼]
write-io: native[
    "Low level write to a port." 
    port [port!] "Already opened port to write to" 
    buffer [any-string!] "Buffer to use for write." 
    length [number!] "Maximum number of chars to write"
]
華夏公益教科書