if a>1000 and a<10000 then 写你的代码end if;
if a>1000 and a<10000 thendo something;
a between 1000 and 10000