Android Question Constants...

Everest

Member
Licensed User
Longtime User
Hello,

I am returning after a year away. One year ago constants were not supported.

I do not find any reference in the user guide. Are they supported in Version 3?

Regards,

Mark
 

JoanRPM

Active Member
Licensed User
Longtime User
No, I assing the constans like this:

B4X:
Sub Process_Globals

'Constants
    Dim x As Int                :    x = 3   
    ...
 
Upvote 0

mangojack

Expert
Licensed User
Longtime User
Could someone supply a brief explanation re the difference between the above initialized variable (post #2) and a Constant
Would not the variable declared in Process_Globals be the equivalent of a Constant ?

Cheers mj
 
Upvote 0
Top