B4J Question ListOfArrays column name indexing case sensitive?

William Lancee

Well-Known Member
Licensed User
Longtime User
In B4X, case usage is a user choice for variable names.
It would be helpful if the column name indexing in LOA was also case-insensitive.
 

William Lancee

Well-Known Member
Licensed User
Longtime User
Tested. Works great (after I updated B4J from the Beta 10.5 to final 10.5 -> to accommodate 'Sublist').
I particularly like the List of Maps feature and the integration with JSON.

I'll be using LOA for passing and returning lists of named results from Subs.
It makes it easy to pass variable length and named arguments to a Sub.
 
Upvote 0

William Lancee

Well-Known Member
Licensed User
Longtime User
A second suggestion (I used up all my requests :) ).
If in the future it is decided to implement the [..] and {..} notation it would be nice to have a list argument
that is automatically converted to an Array() argument where needed.
i.e.
B4X:
If arg Is List Then argarray = LOAUtils.ListToArray(arg) Else argarray = arg

Then (in the future) we would be able to say:
B4X:
table.AddRow(["Goat", "Billy", 80, Null])
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
A second suggestion (I used up all my requests :) ).
If in the future it is decided to implement the [..] and {..} notation it would be nice to have a list argument
that is automatically converted to an Array() argument where needed.
i.e.
B4X:
If arg Is List Then argarray = LOAUtils.ListToArray(arg) Else argarray = arg

Then (in the future) we would be able to say:
B4X:
table.AddRow(["Goat", "Billy", 80, Null])
I think we still remember this discussion.
 
Upvote 0
Top