[JW Lua] Measure Number Regions

Charles O. Lawrence charlesolawrence at bellsouth.net
Wed Mar 18 18:26:30 CET 2015


Jan,

I had changed the code slightly.  Perhaps you didn't notice.  Thanks.

    -- change the region some
    region.StartNumber = region.StartNumber + 10


----------------------------------------------------------------------------
------------

-----Original Message-----
From: JWLua [mailto:jwlua-bounces at jwmusic.nu] On Behalf Of Jan Angermüller
Sent: Wednesday, March 18, 2015 1:16 PM
To: The JW Lua script plug-in.
Subject: Re: [JW Lua] Measure Number Regions

>     if k == 2 then region:DeleteData(k) else region:Save(k) end
Charles,

the  Save(k) in the code above makes no sense, because you save region
although it has not been changed before.
So the region:Save(k) can be omitted  here - at least in the code snippet
you submitted.

Jan

_______________________________________________
JWLua mailing list
JWLua at jwmusic.nu
http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu





More information about the JWLua mailing list