i have this code on a button click and it set value to ini file but if i leave input dialog empty then i get that (C stack overflow) error next time i run the app...
button click code:
Code:if getrefreshtime ~= nil then strNum = String.ToNumber(String.Replace(getrefreshtime.Displayed, " ", "", false)); INIFile.SetValue("AutoPlay\\Docs\\options.ini", "RefreshTime", "time", strNum); strNum = strNum * 1000 timer2 = Timer.StartTimer("Plugin2", 101, strNum); end

Reply With Quote