GetVersion

From OxeyeWiki

(Difference between revisions)
Jump to: navigation, search
Jeb (Talk | contribs)
(Created page with '{{DaisyMethod | daisy.getVersion() | Fetches the current DaisyMoon version. The version number is divided into major (major releases), minor (new features) and build (bug fixes) ...')

Latest revision as of 20:26, 6 February 2010

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