以下是引用茵梦湖在2012-2-15 14:00:20的发言:
for ii=1 to 21
lsv =iif(ii=1,"",lsv+iif(ii%3=1,"+","*")) +tran(ii)
endfor
?"P=",lsv, "=",&lsv
又学了一招,楼上总结了大家的办法,精练,但对于新狐就有点难度了。for ii=1 to 21
lsv =iif(ii=1,"",lsv+iif(ii%3=1,"+","*")) +tran(ii)
endfor
?"P=",lsv, "=",&lsv
[ 本帖最后由 sdta 于 2012-2-16 02:33 编辑 ]
坚守VFP最后的阵地