cells 是一个自定义function么?如果是的话可以将对比写入里面!比如if cells(u,"c",".") then endfunction cells (Obj1,Obj2,Obj3) as boolean'运行后直接在这里判断,然后返回true 或false