generate str name="zhangsang"
. generate int age=28
. set obs 1
obs was 0, now 1
. replace name = "zhangsang" in 1
name was str1 now str9
(1 real change made)
. replace age = 22 in 1
(1 real change made)
. set obs 2
obs was 1, now 2
. replace name = "lisi" in 2
(1 real change made)
. replace age = 26 in 2
(1 real change made)
. set obs 3
obs was 2, now 3
. replace name = "李军" in 3
(1 real change made)
. replace age = 31 in 3
(1 real change made)
. browse
本博客所有内容是原创,如果转载请注明来源