|
应用于变量存储于控制主机中,IPAD从主机获取相关变量,不随软件重启而复位
应用示例可查看_MATRIX 和_AUDIO方法,可自行修改相关方法属性及添加方法属性。有任何问题建议可在下方留言,功能持续改进更新
附:
function _INT(vSaveStr)
{
this.value = 0;
this.value = getSystemInt(vSaveStr,this.value);
this.set = function(vNum)
{
this.value = vNum;
setSystemInt(vSaveStr,this.value);
}
this.get = function()
{
this.value = getSystemInt(vSaveStr,this.value);
return this.value;
}
this.increase = function(vNum)
{
this.value = this.value +vNum;
setSystemInt(vSaveStr,this.value);
}
this.decrease = function(vNum)
{
this.value = this.value - vNum;
setSystemInt(vSaveStr,this.value);
}
}
|
|