Tuesday, March 2, 2021

Return a List variable by Pass By Reference in Business Central

 Hi All, 

I hope you are doing well. It's feels like forever since I wrote a blog! Although, here I am with an another one. :)

We have always been talking about a different way of passing a value - Pass by reference but how do we use it in AL and for what kind of variables, well let's find out!

Business Central is extending in terms of types of datatypes and objects and sky is the limit. 

Let's talk about a Datatype 'List' which gives you more flexibly and functions than an array. Now, what if you want to return the List?