M madammar New Member Jan 27, 2018 #1 i am new to this B$A development environment it feels very good environment so far , i am trying to understand the basics how do i create string list ?
i am new to this B$A development environment it feels very good environment so far , i am trying to understand the basics how do i create string list ?
DonManfred Expert Licensed User Longtime User Jan 27, 2018 #2 welcome in th e community Code: dim mylist as List mylist.initialize mylist.Add("This is a String") mylist.Add("another string") I suggest to get the Beginners guide and after that the Users guide. There are a lot of examples and the basics (and much ore) about the Language. Documentation Documentation Index B4X Programming Language and IDE (pdf) Tutorials List Beginner's Guide (pdf) User's Guide (pdf) Upvote 0
welcome in th e community Code: dim mylist as List mylist.initialize mylist.Add("This is a String") mylist.Add("another string") I suggest to get the Beginners guide and after that the Users guide. There are a lot of examples and the basics (and much ore) about the Language. Documentation Documentation Index B4X Programming Language and IDE (pdf) Tutorials List Beginner's Guide (pdf) User's Guide (pdf)
M madammar New Member Jan 28, 2018 #3 DonManfred said: welcome in th e community Code: dim mylist as List mylist.initialize mylist.Add("This is a String") mylist.Add("another string") Click to expand... Yes i am missing the tutorial its very useful but some stuff did not found in the tutorial section is this List need to be free some where or its free it self ? also can i assign this list To Webview in loadhtml function ? Upvote 0
DonManfred said: welcome in th e community Code: dim mylist as List mylist.initialize mylist.Add("This is a String") mylist.Add("another string") Click to expand... Yes i am missing the tutorial its very useful but some stuff did not found in the tutorial section is this List need to be free some where or its free it self ? also can i assign this list To Webview in loadhtml function ?
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2018 #4 madammar said: is this List need to be free some where or its free it self ? Click to expand... No. The memory will be released by the garbage collector when there are no live references to the list. madammar said: also can i assign this list To Webview in loadhtml function ? Click to expand... You need to better explain what you are trying to do. Upvote 0
madammar said: is this List need to be free some where or its free it self ? Click to expand... No. The memory will be released by the garbage collector when there are no live references to the list. madammar said: also can i assign this list To Webview in loadhtml function ? Click to expand... You need to better explain what you are trying to do.
M madammar New Member Jan 28, 2018 #5 I am trying to use webview as chatbox So I thought that I can add strings in a list then load it as complete page in webview each time I need . Maybe there is better way that I can follow Upvote 0
I am trying to use webview as chatbox So I thought that I can add strings in a list then load it as complete page in webview each time I need . Maybe there is better way that I can follow
M madammar New Member Jan 29, 2018 #6 i found a way by using string builder thank you very much Upvote 0