RE: command_line() - convert a sequence to an atom value?

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

Euman,

The problem, I think, is that he's got a sequence and needs the value it
represents. How would you poke the value of the sequence into the memory
address without FIRST getting the value of the sequence? And if you have to
do that first, why poke the value into memory?

-CuriousKid

> CK presents one method or you can use something like this
> which is ultra fast,
>
> address = allocate(256) -- 'warning' only 256 bytes can be used
> mem_set(address, 0, 256)
>
> poke your value staring at 'address' location
> and then you can peek the value from 'address' later
> when its needed again.
>
> be sure to free the allocated space when your finished with
> the data contained in 'address' useing free(address)
>
> if you have some code, I could help you modify it some to work like this.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu