B4J Question initialized() & notinitialized() ??

ilan

Expert
Licensed User
Longtime User
hi


just a small question about then new Initialized() and NotInitialized() function.
if i set an object to NULL and test if initialized() then ... i get error that the object is not initialized. i thought i should be able to avoid crashes with that function or am i wrong.

B4X:
If Initialized(selectedtreeItem) Then Log(selectedtreeItem.Text)

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…