因为一个文件夹下文件特别多,foreach命令需要指定list,现在想不指定list,而项编程一样,用一个数组或什么的获得该目录下所有的文件(只有一种类型),然后依次读取文件,进行处理,然后保存
foreach file in this.dta that.dta theother.dta {
append using "`file'"
}
现在不想指定 this.dta that.dta theother.dta,用变量替换



雷达卡






京公网安备 11010802022788号







