摘要:
use e:\statashu\bobo\zhu,clear local cc pid_a_c1 pid_a_c2 pid_a_c3 pid_a_c4 pid_a_c5 pid_a_c6 pid_a_c7 pid_a_c8 pid_a_c9 pid_a_c10 local c=_N foreach 阅读全文
摘要:
// 导入EXCEL时经常出现类似情况 // 将前四行的内容都复制到第一行 use x1,clear local kk=0 foreach var of varlist _all{ local kk=`kk'+1 local cc="" forvalues i=1/4{ local cc="`cc' 阅读全文
摘要:
//save excel1,replace use excel1,clear foreach v of varlist _all{ local cc="" forvalues aa=1/6{ local cc1=`v'[`aa'] local cc="`cc'""`cc1'" } disp `cc' 阅读全文