Re: Morfit or not to Morfit, that is the question

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

Hi,

Jeffrey Fielding wrote:
> function allocateDouble(atom value)
>     atom a
>     a = allocate(8)
>     poke(a,atom_to_float64(value))
>     return a
> end function

That did the trick. The atom_to_float64() was the thing I was definetly
overlooking. I can't believe I asked about how to return an address
after I've been using it in the Exotica api. I keep thinking in
'c' terms instead of Euphoria terms.
Enough excusses, thanks for showing me that function. :)

-- Todd Riggins

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

Search



Quick Links

User menu

Not signed in.

Misc Menu