Wikia

CHDK Wiki

Changes: Lua/Scripts:Standard/Lualib/Propcase

Edit

Back to page

m (cat)
m (cat)
 
Line 13: Line 13:
   
 
[[Category:Scripting]]
 
[[Category:Scripting]]
#REDIRECT [[Lua]]
+
[[Category:Lua]]

Latest revision as of 07:06, February 27, 2012

CHDK/LUALIB/propcase.luaEdit

This is a standard lua module included in the full CHDK distribution. It provides camera independent access to PropertyCase numbers using the same mnemonic names used in the CHDK source (without the PROPCASE_ prefix).

Using the moduleEdit

The module returns a table of PropertyCase numbers appropriate to the cameras propset, indexed by name. This module does not set any global variables. Instead, you must assign the return value of require to a variable through which you will access the modules members.

props=require("propcase")
mytv=get_prop(props.TV)

DependenciesEdit

Around Wikia's network

Random Wiki