Originally posted by John Mullahy
View Post
Code:
tw scatteri 4 5 4 6 4 7 5 5 5 6 5 7, name(have) local coordlist "" foreach a of numlist 4 5 { foreach b of numlist 5(1)7 { local coordlist = "`coordlist' `a' `b'" } } di "`coordlist'" tw scatteri `coordlist', name(want)
Leave a comment: