rainmeter-studio/Library/lua
Birunthan Mohanathas 23f4a31bf0 Script: Fixed that the value of the Script measure is not reset when an error occurs.
In the following case, for example, the value of the measure used to remain 10 even after an error. Now it will default to 0 on error.

function Initialize()
	i = 0
end

function Update()
	if i < 5 then
		i = i + 1
		return 10
	else
		i() -- error here, execution stops
		return 2
	end
end
2011-07-25 17:59:43 +00:00
..
glue Script: 2011-07-07 16:18:39 +00:00
include
lua
tolua++
LuaManager.cpp Script: 2011-07-07 16:18:39 +00:00
LuaManager.h Lua: 2011-07-06 10:21:18 +00:00
LuaPush.cpp Script: 2011-07-05 13:41:05 +00:00
LuaPush.h Script: 2011-07-05 13:41:05 +00:00
LuaScript.cpp Script: Fixed that the value of the Script measure is not reset when an error occurs. 2011-07-25 17:59:43 +00:00
LuaScript.h - Added !CommandMeasure bang. Instead of '!PluginBang "MeasureName Arguments' use '!CommandMeasure "MeasureName" "Arguments"'. 2011-07-09 09:23:28 +00:00