samedi 30 avril 2016

Elements in multi-dimensional lists

What's the easiest way, in B4J, to refer to an element in a nested list?

So specifically, if you had

List1.AddAll( Array As String( "one", "two", "four" ) )
List1.AddAll( Array As String( "seventeen", "thirteen", "five" ) )
List1.AddAll( Array As String( "hundred", "eight", "zero" ) )


, and you wanted to obtain the "thirteen" at ( 1, 1 ),

is there a simple way to do that, with B4J syntax?

Also, if you wanted to replace the element at (1,1), what is the simplest way to to that?...

Elements in multi-dimensional lists

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/1QIbLBR
via IFTTT

Aucun commentaire:

Enregistrer un commentaire