Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.
For more information and upcoming events around #dominoforever, please visit our Destination Domino Page
Would you mind posting this class as an example?
Simply wrap the list in a class which delivers you counter and an approximate size .
Doing this since long.
LotusScript is lacking in many ways, but its paltry data structures are high on the list for sure.
Re: "Counting elements is so easy and fast..."
Yes true, still every other equivalent like Java's HashMap has that option, so why not List?
Also I know how to find out whether a List has any elements at all, again using a forall loop.
Btw, right now I'm mostly using a counter while filling the list, so again in the end I know how much is in there.
But that is not the case; I still think that this is a missing piece in a mature language
Counting elements is so easy and fast, under one second for 2 million elements.
Counter=0
ForAll ListNameElement In Listname
Counter=Counter+1
End ForAll