以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  清除设置  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=3439)

--  作者:lihe60
--  发布时间:2009/7/4 15:51:00
--  清除设置
dim n as integer=getconfigvalue("count",1)
messagebox.show(n)
if n>30 then  
    RemoveConfigItem(“count”)  
   messagebox.show("你已超出试用次数!")
else
   If User.Type <> UserTypeEnum.User then
           n=n+1
        saveconfigvalue("count",n)        
    end if
end if
代码RemoveConfigItem(“count”)如何使用?
[此贴子已经被作者于2009-7-4 15:51:59编辑过]

--  作者:狐狸爸爸
--  发布时间:2009/7/4 16:18:00
--  
看不懂你的代码,这个设置保存试用此书,能够清除的吗?
你要清除,就用RemoveConfigItem清除.


--  作者:lihe60
--  发布时间:2009/7/4 16:28:00
--  

这个代码写不进去的,所以提问。

[此贴子已经被作者于2009-7-4 16:29:35编辑过]

--  作者:狐狸爸爸
--  发布时间:2009/7/4 16:33:00
--  
我检查检查
--  作者:狐狸爸爸
--  发布时间:2009/7/4 16:49:00
--  
是一个bug,下次不会有这个问题了。