B4J Question Creating code on the fly

B4JExplorer

Active Member
Licensed User
Hi,

Do we have a way of defining code, during runtime? Meaning, the function name and parameters and body, so that the function can be called after it's created?
 

Cableguy

Expert
Licensed User
Yes and no...
Not inside the app (after compilation the code cannot be changed) but you can create a script during runtime and call it.

I remember some time ago reading about "plugins" but I think it was in ABMaterial's scope.
 

B4JExplorer

Active Member
Licensed User
Yes and no...
Not inside the app (after compilation the code cannot be changed) but you can create a script during runtime and call it.

I remember some time ago reading about "plugins" but I think it was in ABMaterial's scope.
Yep, it might come down to just generating a script and calling it.

Ok, sounds good, thanks Cableguy.
 
Top