Hi All
I am using foreach loop in a code and write results to a file. How can I write the variable names from the foreach loop. Currently, I am able to use `: var lab `v'' for retrieving the variable labels , but cannot find a way to send variable names to the file instead of their labels. Any help would be appreciated.
I am using foreach loop in a code and write results to a file. How can I write the variable names from the foreach loop. Currently, I am able to use `: var lab `v'' for retrieving the variable labels , but cannot find a way to send variable names to the file instead of their labels. Any help would be appreciated.
Comment