Using := Operator with Records

ta5ta5 Member Posts: 1,164
Hi

Sometimes C/AL code like this is used:
Rec2 := Rec1
(Rec2 and Rec1 are record variable of the same type, for example "Item".)
The question: (category "what you always wanted to know but never dared to ask")
Is this the same like the following code?
Rec2.GET(Rec1."No.")
Any advantages/disadvantages using this kind of stile?

Curious about your answers, thanks a lot.

Thomas

Best Answer

Answers

  • ta5ta5 Member Posts: 1,164
    Hi Slawek
    Thanks a lot. This brings some light to my question.
    Thomas
Sign In or Register to comment.