跳轉到內容

Rebol 程式設計/pick

來自華夏公益教科書,開放的書籍,開放的世界
PICK series index 

返回系列中指定位置的值。

PICK 是一個動作值。

  • 系列 -- (型別:系列對事件貨幣日期時間物件埠元組任何函式)
  • 索引 -- (型別:數字邏輯對)

原始碼

[編輯 | 編輯原始碼]
pick: native[
    {Returns the value at the specified position in a series.} 
    series [series! pair! event! money! date! time! object! port! tuple! any-function!] 
    index [number! logic! pair!]
]
華夏公益教科書