home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
viscobv7.zip
/
vac22os2
/
ibmcobol
/
macros
/
hextext.lx
< prev
next >
Wrap
Text File
|
1998-02-24
|
351b
|
19 lines
/* hextext.lx - Show the current element: text and hexadecimal values. */
'EXTRACT content'
if content = '' then
exit
'MSG' content
high=''
low=''
Options Size high 2500
Options Size low 2500
do i=1 to length(content)
parse value C2X(substr(content,i,1)) with a 2 b
high=high||a
low =low||b
end
'MSG' high
'MSG' low
'MSG'