hi,


suppose i have a variables named x1 x2 x3 ....x2000 and had set the following local macro and forv loop (that obviously didnt work):

local j 365
forv i=366(365)2557{
use x(`i'-`j') using abcd.dta
}


is it possible to specify the above -use- command by "subracting" macros to specify an x variable ? i tried a few formats but none worked.

i m doing this to ultimately spit a data set "horizontally"

thx