Hi,
This is my first question though I have been using B4A very happily for a while.
Question:
If I define a type as:
Type T (a as String, b as String)
I would like a function like:
m = membersof("T")
which would return say a list {"a","b"} and then if
Dim t1 as T
t1.a = "test"
s = valueof(t1,"a")
would return "test".
I need this to automatically save the values of a type variable.
I had quite a good look at the documenation but could not find if such functions exist.
Thanks
David
This is my first question though I have been using B4A very happily for a while.
Question:
If I define a type as:
Type T (a as String, b as String)
I would like a function like:
m = membersof("T")
which would return say a list {"a","b"} and then if
Dim t1 as T
t1.a = "test"
s = valueof(t1,"a")
would return "test".
I need this to automatically save the values of a type variable.
I had quite a good look at the documenation but could not find if such functions exist.
Thanks
David