set talk off
set dele on
clear
use 股票信息
dele for 交易所=="上海"or 交易所=="深圳"
count to n1
go top
recall
count to n2
?n1,n2
use
set talk on
retu
股票信息表中总共有8个记录 其中交易所是上海的有4个 深圳的有2个 求解为啥n1=8读不明白了 我咋觉得是2呢。。。
多半是你的交易所字段宽不是4~则改为红字部分~
set talk off
set dele on
clear
use 股票信息
dele for allt(交易所)=="上海" or allt(交易所)=="深圳"
count to n1
go top
recall
count to n2
?n1,n2
use
set talk on
retu