Beginning C/AL programming

LeoNavLeoNav Member Posts: 55
Hi, :D

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 :D

Answers

Sign In or Register to comment.