Android Question reading NULL at Activity Resume KeyValueStore


Licensed User
I am having the invalid double error in the first read of the file using keyvaluestore.
I am not sure how to check if the read is NULL I tried and I am getting a syntax error.

If IsNumber(kvs.GetSimple("module_1_Addr))

Sub Activity_Resume
Module_1_ADDR = kvs.GetSimple("module_1_Addr")
Module_2_ADDR = kvs.GetSimple("module_2_Addr"):
Module_3_ADDR = kvs.GetSimple("module_3_Addr"):
Module_4_ADDR = kvs.GetSimple("module_4_Addr"):

End Sub
Last edited: