Rexx - Extended Functions b2c



This function converts a binary value to a string value.

Syntax

B2C(binstring) 

Parameters

  • binstring − This is the binary value which needs to be converted to a string.

Return Value

The corresponding string value for the input-ed binary value.

Example

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

When we run the above program, we will get the following result.

Output

c
rexx_extended_functions.htm
Advertisements