Created
January 9, 2020 22:04
-
-
Save bbdaniels/54c50d852cf9e3b712b5d8b7710b333c to your computer and use it in GitHub Desktop.
Loop over letters in Stata (such as for putexcel)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
forv i = 1/26 { | |
local theLetter : word `i' of `c(ALPHA)' | |
di "`theLetter'" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment