This is what I used to do in C/C++:
Do
{
Something....;
Something....;
Something....;
While record.NEXT == 0 || record.Code == value
Now when I try to do the same thing in C/AL
REPEAT
Something....;
Something....;
Something....;
Until record.Next = 0 OR record.Code = value
Compile will give me an error: Tye conversion is not possible because 1 of the operators contains an invalid type.
What is the correct way to express?
Thanks
0
Comments
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