Re: Object to Atom

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

How can the object {2} be converted to an atom?

Z

 
object my_object my_object = 2 
atom my_atom my_atom = 0 
 
-- check the size first 
if atom(my_object) then 
  ? my_object 
else 
  puts(1,"Object will not fit in atom\n" ) 
end if 
 
new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu