Class a.version

algorithm library version

Tables

a.version algorithm library version

Methods

a.version:new ([major[, minor[, third[, extra]]]]) constructor for algorithm library version
a.version:init ([major[, minor[, third[, extra]]]]) initialize for algorithm library version
a.version:parse (version) parse version string to version
a.version:cmp (that) compare the version self with the version that
a.version:lt (that) version self is less than version that
a.version:gt (that) version self is greater than version that
a.version:le (that) version self is less than or equal to version that
a.version:ge (that) version self is greater than or equal to version that
a.version:eq (that) version self is equal to version that
a.version:ne (that) version self is not equal to version that


Tables

a.version
algorithm library version

Fields:

  • major version major number
  • minor version minor number
  • third version third number
  • extra version extra number
  • alpha version alphabet

Methods

a.version:new ([major[, minor[, third[, extra]]]])
constructor for algorithm library version

Parameters:

  • major integer version major number (optional)
  • minor integer version minor number (optional)
  • third integer version third number (optional)
  • extra integer version extra number (optional)

Returns:

    a.version algorithm library version userdata
a.version:init ([major[, minor[, third[, extra]]]])
initialize for algorithm library version

Parameters:

  • major integer version major number (optional)
  • minor integer version minor number (optional)
  • third integer version third number (optional)
  • extra integer version extra number (optional)

Returns:

    a.version algorithm library version userdata
a.version:parse (version)
parse version string to version

Parameters:

  • version string string to be parsed

Returns:

    a.version algorithm library version userdata
a.version:cmp (that)
compare the version self with the version that

Parameters:

Returns:

  1. integer <0 version self < version that
  2. integer >0 version self > version that
  3. integer 0 version self == version that
a.version:lt (that)
version self is less than version that

Parameters:

Returns:

    bool result of comparison
a.version:gt (that)
version self is greater than version that

Parameters:

Returns:

    bool result of comparison
a.version:le (that)
version self is less than or equal to version that

Parameters:

Returns:

    bool result of comparison
a.version:ge (that)
version self is greater than or equal to version that

Parameters:

Returns:

    bool result of comparison
a.version:eq (that)
version self is equal to version that

Parameters:

Returns:

    bool result of comparison
a.version:ne (that)
version self is not equal to version that

Parameters:

Returns:

    bool result of comparison
generated by LDoc 1.5.0 Last updated 2024-09-30 14:51:04