Create a function in time of execution

Post Reply
User avatar
Carles
Posts: 937
Joined: Fri Feb 10, 2006 2:34 pm
Location: Barcelona
Contact:

Create a function in time of execution

Post by Carles »

Hello,

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

Regards.
Salutacions, saludos, regards

"...programar es fácil, hacer programas es difícil..."

https://modharbour.app
https://modharbour.app/compass
https://forum.modharbour.app
User avatar
wmormar
Posts: 1050
Joined: Fri Oct 07, 2005 10:41 pm
Location: México
Contact:

Re: Create a function in time of execution

Post 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
William, Morales
Saludos

méxico.sureste
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 ? :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply