Re: Binary values

new topic     » goto parent     » topic index » view thread      » older message » newer message

> Okay, maybe I'm just having a mental block here.  If I am peeking data
> from memory that is defined as a 4-Byte binary number, how would I 
> convert that to an atom to display the value to the user?  

> Probably showing the first signs of old age...Jonas

If it's a signed value (can be negative or positive) then use:

a = peek4s(address)

Otherwise you should use:

a = peek4u(address)

Thomas Parslow (PatRat)
E-Mail/Jabber: tom at almostobsolete.net
ICQ: 26359483

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu