Wikia

CHDK Wiki

Lua/Scripts:Standard/Lualib/Propcase

Talk0
577pages on
this wiki

< Lua

Revision as of 07:06, February 27, 2012 by Fe50 (Talk | contribs)

CHDK/LUALIB/propcase.lua

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 module

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)

Dependencies

  1. REDIRECT Lua

Around Wikia's network

Random Wiki