B4J Question Creating code on the fly

B4JExplorer

Active Member
Licensed User
Longtime 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?
 
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.
 
Upvote 0
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.
 
Upvote 0
Back
Top