Lists in Business Central
When checking out the NAV Techdays Videos (you can find the links here), I found an interesting piece of code in the opening key note. I have to admit: I felt a bit like I am living behind the moon. It seems that there is the possibility to use lists in Business Central/AL. How could I not find out about this earlier?
That really surprised me but is an awesome step forward in my opinion. Yes, real lists, no arrays – with methods like Contains, IndexOf, Add…
You can find an overview of the list data type here. It also includes an example which uses the method “contains”:
That’s it about lists in Business Central/AL. It seems that there is also an ANY datatype now. So far there is no example how it can be used. I am curious what this will be used for in the future.
Have a nice week.