A amiria703 Member Sep 20, 2021 #1 Unknown type: Object Are you missing a library reference? Click to expand... B4X: Dim Cakes as Object Cakes.Initialize The error msg and the related part of code is shown in the screenshot above What to do?
Unknown type: Object Are you missing a library reference? Click to expand... B4X: Dim Cakes as Object Cakes.Initialize The error msg and the related part of code is shown in the screenshot above What to do?
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2021 #2 You cannot initialize an Object object. Object is like a joker type which can hold all other concrete types. What are you trying to do? Upvote 0
You cannot initialize an Object object. Object is like a joker type which can hold all other concrete types. What are you trying to do?
A amiria703 Member Sep 21, 2021 #3 Erel said: You cannot initialize an Object object. Object is like a joker type which can hold all other concrete types. What are you trying to do? Click to expand... Just have some lists inside a big object Upvote 0
Erel said: You cannot initialize an Object object. Object is like a joker type which can hold all other concrete types. What are you trying to do? Click to expand... Just have some lists inside a big object
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2021 #4 Change the type to List. Upvote 0
A amiria703 Member Sep 21, 2021 #5 So you mean have a list that has lists inside? Then what if I want the indexes have names? Something like object in JS Upvote 0
So you mean have a list that has lists inside? Then what if I want the indexes have names? Something like object in JS
Erel B4X founder Staff member Licensed User Longtime User Sep 21, 2021 #6 I don't have any clue on what you are trying to do so can't really say anything more. The code in the first post cannot work. Upvote 0
I don't have any clue on what you are trying to do so can't really say anything more. The code in the first post cannot work.
A amiria703 Member Sep 21, 2021 #8 LucaMs said: Map of Lists? Click to expand... Oh thanks I think what I looked for is Map Upvote 0