Dear All,

I have two groups of countries and pairwise data- importers and exporters. Eg. Importers= ITALY, FRANCE, GERMANY etc. and exporters=ITALY, FRANCE, GERMANY, CHINA, UK, USA etc. Let EMU countries be ITALY, FRANCE, GERMANY

I want to use the "foreach" command or any command to create a new variable say EMU which takes 1 for any pair of EMU countries and 0 otherwise.

Thank you.