Hi,
Just a small doubt I couldn't find the answer for in B4X documentation:
In VB 6 variables are always initialized when they are declared. For instance, if I declare "Public myflag as boolean", I can be sure that myflag variable will have the initial state of false... and so on for the other types of variables (zero for numeric types, empty string for strings, etc.).
Do B4A, B4J, etc. have the same behaviour? Can I always assume that variables are initialized with their default values, at the moment they are declared?
Regards,
Just a small doubt I couldn't find the answer for in B4X documentation:
In VB 6 variables are always initialized when they are declared. For instance, if I declare "Public myflag as boolean", I can be sure that myflag variable will have the initial state of false... and so on for the other types of variables (zero for numeric types, empty string for strings, etc.).
Do B4A, B4J, etc. have the same behaviour? Can I always assume that variables are initialized with their default values, at the moment they are declared?
Regards,