REXX – Miscellaneous Functions

August 19, 2013 Rui Miguel Feio

The following built-in Rexx Miscellaneous Functions.   Function Description ADDRESS Returns the name of the environment to which commands are currently being sent. ARG Returns an argument string or information about the argument strings to a program or internal routine. BITAND Returns a string composed of the two input strings […]

REXX – String Manipulating Functions

August 19, 2013 Rui Miguel Feio

The following built-in Rexx String Manipulating Functions analyse a string supplied in the argument (or a variable representing a string) and return a particular value.   Function Description ABBREV Returns a string indicating if one string is equal to the specified number of leading characters of another string. DELSTR Returns a […]

REXX – Formatting Functions

August 15, 2013 Rui Miguel Feio

The following built-in Rexx Formatting Functions manipulate the characters and spacing in strings supplied in the argument.   Function Description CENTER or CENTRE. Returns a string of a specified length with the input string centered in it, with pad characters added as necessary to make up the length. COPIES Returns the specified […]

REXX – Conversion Functions

August 15, 2013 Rui Miguel Feio

The following built-in Rexx Conversion Functions convert one type of data representation to another type of data representation.   Function Description B2X Returns a string, in character format, that represents the input binary string converted to hexadecimal. (Binary to hexadecimal) C2D Returns the decimal value of the binary representation of the […]

REXX – Comparison Functions

August 14, 2013 Rui Miguel Feio

The following built-in Rexx Comparison Functions compare numbers and/or strings and return a value.   Function Description COMPARE Returns 0 if the two input strings are identical. Otherwise, returns the position of the first character that does not match. DATATYPE Returns a string indicating the input string is a particular […]

1 2