Wish Inline Java

Semen Matusovskiy

Well-Known Member
Licensed User
Small suggestion.
Unlike it's possible to insert #If Java #End If in any place inside Basic code, during compilation all import statements are moved to top of Java module, all the rest - to bottom.

I offer - not to move to bottom, but to leave in place. This allows to insert Java code inside Basic subroutines and will give access to local variables.

Second suggesstion. Instead (or in addition) to #If Java #End If , it's possible to mark inline Java statements by special symbol. For instance, by ! (like in Powerbasic inline assember).
 

Semen Matusovskiy

Well-Known Member
Licensed User
Erel --
Theoretically, it's possible to do all or almost all, using JavaObject / Reflector. But you can find a lot of Java solutions / samples, unlike B4A. That's why there is a wish to "import" Java code.
 
Top