iOS Question [Solved] KeyValueStore with booleans variables

angel_

Well-Known Member
Licensed User
Longtime User
In B4A when I write kvs.GetDefault("BooleanVariable", True) return True or False, but en B4i return 1 or 0.

Reading this thread, How do i to compare values?:
B4X:
If kvs.GetDefault("BooleanVariable", True) then 'is it correct?

'or

If 1 = kvs.GetDefault("BooleanVariable", True) then
 

angel_

Well-Known Member
Licensed User
Longtime User
Thank you
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…