function export(auto)
sortsched()
local s=arrname.."=split2d\""
for i=1,#data do
if i>1 then
s..="|"
end
for j=1,#data[i] do
if j>1 then
s..=","
end
s..=data[i][j]
end
end
s..="\""
printh(s,file,true)
if auto then
add(msg,{txt="autosave",t=60})
else
add(msg,{txt="exported!",t=120})
end
--debug[1]="exported!"
end
什么是IOC
IOC
IOC(Inversion of Control),是一种设计思想,在之前的SpringMVC里就在类上添加RestController和Controller注解就是使用了IOC,这两个注解就是在Spring中创建一个对象,并将注解下的类交给Spring管理,Spr…