SCOUG Logo


Next Meeting: Sat, TBD
Meeting Directions


Be a Member
Join SCOUG

Navigation:


Help with Searching

20 Most Recent Documents
Search Archives
Index by date, title, author, category.


Features:

Mr. Know-It-All
Ink
Download!










SCOUG:

Home

Email Lists

SIGs (Internet, General Interest, Programming, Network, more..)

Online Chats

Business

Past Presentations

Credits

Submissions

Contact SCOUG

Copyright SCOUG



warp expowest
Pictures from Sept. 1999

The views expressed in articles on this site are those of their authors.

warptech
SCOUG was there!


Copyright 1998-2024, 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.

The Southern California OS/2 User Group
USA

SCOUG-Programming Mailing List Archives

Return to [ 30 | August | 2003 ]

<< Previous Message <<


Date: Sat, 30 Aug 2003 22:41:44 PDT7
From: "Harry Motin" <hmotin@sbcglobal.net >
Reply-To: scoug-programming@scoug.com
To: "Peter Skye" <pskye@peterskye.com > ,
Subject: SCOUG-Programming: REXX SysTempFileName function

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.