D drj Member Licensed User Longtime User Mar 19, 2013 #1 I am converting a vb program and it uses data structures. See sample below. Does the package accommodate this or do I have to recode it without the structure? Thanks, With FinanceData period = 12 textBoxPV.Text = putLabel(.tpv, 2) End With Dim Structure FinanceStruc Dim tpv As Single End Structure Dim FinanceData As FinanceStruc
I am converting a vb program and it uses data structures. See sample below. Does the package accommodate this or do I have to recode it without the structure? Thanks, With FinanceData period = 12 textBoxPV.Text = putLabel(.tpv, 2) End With Dim Structure FinanceStruc Dim tpv As Single End Structure Dim FinanceData As FinanceStruc
agraham Expert Licensed User Longtime User Mar 19, 2013 #2 Check out the Type keyword at 10.3.4 in the Beginners Guide. Upvote 0
D drj Member Licensed User Longtime User Mar 19, 2013 #3 Ok I see that , I read somewhere Hi, Thanks, I read somewhere they all had to be the same type like double , string and you cannot mix types - is that so? Upvote 0
Ok I see that , I read somewhere Hi, Thanks, I read somewhere they all had to be the same type like double , string and you cannot mix types - is that so?
agraham Expert Licensed User Longtime User Mar 19, 2013 #4 No, they be whatever types you want. Upvote 0
D drj Member Licensed User Longtime User Mar 19, 2013 #5 I forgot to ask , can you use the With Statement Hi, I forgot to ask. Can you use the With and End With statements with Type Variables? Thanks Upvote 0
I forgot to ask , can you use the With Statement Hi, I forgot to ask. Can you use the With and End With statements with Type Variables? Thanks
Erel B4X founder Staff member Licensed User Longtime User Mar 19, 2013 #6 Basic4android doesn't (currently) support With / End With blocks. Upvote 0