Hi Anotonio,
I am getting undefined functions error in my Clipper 5.2e/FW24 application when I try to use C2Hex and C2Bin. These are present in FW24 documentation.
Thank you,
Jose
Undefined FW24 functions C2Hex, C2Bin
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Re: Undefined FW24 functions C2Hex, C2Bin
Jose,
Code: Select all
function Main()
MsgInfo( C2Hex( "A" ) )
return nil
function C2Hex( cChar )
local cHex := "0123456789ABCDEF"
return SubStr( cHex, ( Asc( cChar ) / 16 ) + 1, 1 ) + SubStr( cHex, ( Asc( cChar ) % 16 ) + 1, 1 )
function C2Bin( cChar )
return SubStr( I2Bin( Asc( cChar ) ), 1, 1 )
Re: Undefined FW24 functions C2Hex, C2Bin
Antonio,
Thanks for the quick reply.
Regards,
Jose
Thanks for the quick reply.
Regards,
Jose