Monday, December 21, 2020

Multiple Variable Declarations of the Same Type in the Same Line

Hello Reader, 

Hope you all are doing well. 

Merry Christmas in Advance. 


In this blog, we will see how we can declare the same type of variable in a same line, using a comma to separate variable names

 

For Example:

I have declared 4 Integer type of variable as a global in AL Extension. 

Before Business Central 17 (2020 Wave 2).

 

In Business Central 17 (2020 Wave 2) 

you can define the variable together with the comma separator as below:

 

Thank you,

Anish Agrawal

NAV/Business Central Developer

Connect me on : +91-9770757595

Linkedin :Anish Agrawal



 

No comments:

Post a Comment

Busines Central Developer

Mastering Financial Harmony: Bank Reconciliation with Copilot in Business Central

   Hello Readers, welcome to my blog! Fasten your virtual seatbelts and prepare to delve into the realm where code meets creativity. The fut...

Report Substituting