Android Question b4a Option "Explicit"

Jorge M A

Well-Known Member
Licensed User
Longtime User
HI @Erel , Is there an equivalent of the "Explicit" option at the start of the b4a code?
 

Ed Brown

Active Member
Licensed User
Longtime User
I would say the short answer is 'No'.

B4x requires that all variables be declared prior to their use in code.
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
... but you can, however, define and set an initial value

Private myvar = 1234 as int
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…