GetVersion

From OxeyeWiki

Revision as of 20:26, 6 February 2010 by Jeb (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

daisy.getVersion()

Fetches the current DaisyMoon version. The version number is divided into major (major releases), minor (new features) and build (bug fixes) versions.

This method is available in DaisyMoon 1.1.0 and later.

Parameter Expected Type Description
No parameters
Returns

Returns three integers, the major, minor and build version numbers. For example, in the first version that had this method, it would return 1, 1 and 0.

Daisymoon Video Lib

Example

   local major, minor, build = daisy.getVersion()
   print("DaisyMoon v" .. major .. "." .. minor .. "." .. build)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox