Page 1 of 1

Create a function in time of execution

Posted: Tue Sep 26, 2006 6:28 am
by Carles
Hello,

Do you know if it is possible to create a function in time of execution?

Regards.

Re: Create a function in time of execution

Posted: Tue Sep 26, 2006 8:01 am
by wmormar
Carles wrote:Hello,

Do you know if it is possible to create a function in time of execution?

Regards.
Carles,

Si a lo que te refieres es ejecutar código en tiempo de ejecucion, siiip, se puede.

xHarbour tiene un contribucion para eso

Posted: Tue Sep 26, 2006 9:15 am
by Antonio Linares
Carles,

Yes, you can add a new function symbol to the global symbols table in runtime. You need to supply a function pointer (address of) of another PRG function or of a C function.

What are you planning to do ? :-)