Android Question dim with sub call

sorex

Expert
Licensed User
Longtime User
Hello,

I'm wondering what happends under the hood when you do

B4X:
Dim var As string=somesub(string1) & string2

does this get inserted in the initialize sub as

B4X:
var=somesub(string1) & string2

?

It works fine that's not the point but I usually give vars their values in the runtime subs.
 

sorex

Expert
Licensed User
Longtime User
what I mean is... is there a routine to generate these code based vars before the app actually starts?
 
Upvote 0
Top