S Stern0m1 Member Licensed User Feb 6, 2017 #1 How can I declare a type variable as a list for the purpose of a dynamic array? Type values(Checked As Boolean, description As String, time As String, days As String) Dim values as values As List?????? Thanks
How can I declare a type variable as a list for the purpose of a dynamic array? Type values(Checked As Boolean, description As String, time As String, days As String) Dim values as values As List?????? Thanks
stevel05 Expert Licensed User Longtime User Feb 6, 2017 #2 B4X: Dim L as List ' As a global variable in Process_Globals '... L.Initialize Dim value as Values value.Initialize value.checked = false 'etc... L.Add(value) To recall a value B4X: Dim Value as Values = L.get(0) Upvote 0
B4X: Dim L as List ' As a global variable in Process_Globals '... L.Initialize Dim value as Values value.Initialize value.checked = false 'etc... L.Add(value) To recall a value B4X: Dim Value as Values = L.get(0)