Re: How to convert to and from HEX?

new topic     » goto parent     » topic index » view thread      » older message » newer message
tonysteward said...

I am able to convert a sequence to hex for storage in a bin file but how do I convert it back?

There is a function in std/text.e for this.

include std/text.e 
sequence Result 
 
Result = format("[X]", 54321)  --> Returns "D431" 
 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu