你的end if 那行错了,其他的没有问题for i=1 to 4 for j=1 to 4 if i<=j ?? str(i,1)+"*"+str(j,1)+"="+str(i*j,2)+spac(2) endif next ?endforuse