Hi,
I need to convert a block of code ({||}) to a string. How can I do this?
b := { || MsgInfo( "Good" ) }
Eval( b )
c := HB_Serialize( b )
? ValType( c ), Len( c ), STRTOHEX( c )
// save the string as hex and restore
b := HB_DeSerialize( c )
? Eval( b )
Otto wrote:Dear Rao,
Just out of curiosity, I haven't really delved into the question yet. But would JSON encode and decode also be an option?
Best regards,
Otto
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Surasak and 39 guests