Rexx - 擴充套件函式 b2c



此函式將二進位制值轉換為字串值。

語法

B2C(binstring) 

引數

  • binstring − 需要轉換為字串的二進位制值。

返回值

輸入二進位制值的對應字串值。

示例

/* Main program */ 
options arexx_bifs 
say b2c('01100011')

執行以上程式後,將得到以下結果。

輸出

c
rexx_extended_functions.htm
廣告

© . All rights reserved.