How to LOOP NAD @area=heading & LOOP NAD @area= detail

Hi,
While I do EDI mapping, I have a question like below:

How to LOOP NAD @area=heading? What value is assigned to the Input array of LOOP properties?

How to LOOP NAD @area=detail? What value is assigned to the Input array of LOOP properties?