Hi,
I'm testing a very basic example in C/AL. I'm a beginner in C/AL programming.
I created a global variable called LoopNo (just like the example in the book). I want to display a message dialog window with the value of my global variable.
Here is my complete code :
OnRun() Trigger
LoopNo:=25;
MESSAGE('The value of %1 is %2','LoopNo','LoopNo');
I don't understand why it doesn't display the right message.
Here is the message displayed :
The value of LoopNo is LoopNo.
An idea.
Thanks
Answers
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
LoopNo is an integer variable that could contain many values.
'LoopNo' is a text value that will also be the same.
My Blog - nav.education
Yes it works fine now.
Thanks a lot for the rapid answer.