FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Conversions
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Conversions
Posted: Thu Oct 26, 2006 12:22 AM

Hi Everybody,

A while ago I came across a function STR2HEX() ... I have no idea how I found this.

  1. Where is this documented ... I can't find it under FWH or xHarbour.

  2. Is there a similar function to convert Hex to Dec ?

Thanks,

Jeff

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Conversions
Posted: Thu Oct 26, 2006 01:47 AM

Jeff,

They are FWH functions:

STR2HEX( cStr ) --> cHexStr

HEX2STR( cHexStr ) --> cStr

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Conversions
Posted: Thu Oct 26, 2006 01:49 AM
code sample:
   MsgInfo( Str2Hex( "Hello" ) )

   MsgInfo( Hex2Str( Str2Hex( "Hello" ) ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion