Fandom

CHDK Wiki

Lua/Scripts:Standard/Lualib/Propcase

< Lua

598pages on
this wiki
Add New Page
Talk0 Share

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

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki