|
From: | Daniel Heck |
Subject: | Re: [Enigma-devel] Annother patch |
Date: | Mon, 29 May 2006 00:40:03 +0200 |
User-agent: | Thunderbird 1.5.0.2 (Windows/20060308) |
+ if loop then + if opt.loop==0 then loopbool=false else loopbool=true end + else + loopbool=false + end
BTW, a common Lua idiom for this would be local loopbool = opt.loop and (opt.loop == 1) or false Cheers, Daniel
[Prev in Thread] | Current Thread | [Next in Thread] |