SCOUG-Programming Mailing List Archives
Return to [ 30 |
August |
2003 ]
<< Previous Message <<
Content Type: text/plain
Peter:
How 'about the REXX function "X2C()"? Please see below:
=
>> X2C(hexstring)
><
=
returns a string, in character format, that represents hexstring convert=
ed to character.
The returned string is half as many bytes as the original hexstring. hex=
string can be of
any length. If necessary, it is padded with a leading 0 to make an even =
number of
hexadecimal digits.
You can optionally include blanks in hexstring (at byte boundaries only,=
not leading or
trailing) to aid readability; they are ignored.
If hexstring is null, the function returns a null string.
Here are some examples:
X2C('4865 6c6c 6f') -> 'Hello' /* ASCII */
X2C('3732 73') -> '72s' /* ASCII */
On Sat, 30 Aug 2003 21:13:21 PDT7, Peter Skye wrote:
>Peter Skye wrote:
>>
>> I can't remember the Rexx function that expands f('00'h..'11'h)
>> to the '0123456789ABCDEFGH' character string.
>
>XRANGE()
>
>- Peter
>
>
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
>
>To unsubscribe from this list, send an email message
>to "steward@scoug.com". In the body of the message,
>put the command "unsubscribe scoug-programming".
>
>For problems, contact the list owner at
>"rollin@scoug.com".
>
>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
>
>
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-programming".
For problems, contact the list owner at
"rollin@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 30 |
August |
2003 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.
|