[Harbour] hb_StrDecodEscape() question

Viktor Szakáts harbour.01 at syenar.hu
Tue Feb 3 04:33:16 EST 2009


Hi all,
Using this call:
hb_StrDecodEscape( "\x1BE" )
results in 0xBE.

I'd expect 0x1B plus an 'E' char.

What's the best way to avoid 'E' being considered
as part of the hex number?

[ Notice the string is picked up from an external text file,
so splitting it to "\x1B" "E" isn't an option. ]

Brgds,
Viktor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.harbour-project.org/pipermail/harbour/attachments/20090203/96251d3e/attachment.html


More information about the Harbour mailing list