I need to create a app that will read a info from eeprom in the start.
my problem is that in the first time (or after Reset), the eeprom is empty and return Error.
I understand there is no "try/catch" block in b4r. so in first time reading, the app crashes...
How can i solve the problem? i need to do something like-
Try to read username, if it is empty return false, so we will go to the user to get the username.
For now, empty return error… and app stops.
thanks
my problem is that in the first time (or after Reset), the eeprom is empty and return Error.
I understand there is no "try/catch" block in b4r. so in first time reading, the app crashes...
How can i solve the problem? i need to do something like-
Try to read username, if it is empty return false, so we will go to the user to get the username.
For now, empty return error… and app stops.
thanks