Compare fields from two associative arrays

In reply to dave_59:

Hi Dave, could you please explain the syntax val_1 array1 [key_1]? I see that we are creating an “instance” of the struct val_1 and calling the instance ‘array 1’. But I do not understand how we can pass ‘key_1’ which is a struct, as the number of elements for the array.