Check ctrlr version in Lua

Home Forums General Programming Check ctrlr version in Lua

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #28644
    atom
    Keymaster
      • Topics: 159
      • Replies: 2945
      • Total: 3104
      • ★★★★★

      Just added this, if you want to make sure Ctrlr is at a specific minimum version

      major = utils.getVersionMajor()
      minor = utils.getVersionMinor()
      revision = utils.getVersionRevision()
      versionAsString = utils.getVersionString()
      
      console (string.format ("%d.%d.%d [%s]", major, minor, revision, versionAsString))
    Viewing 1 post (of 1 total)
    • The forum ‘Programming’ is closed to new topics and replies.
    There is currently 0 users and 78 guests online
    No users are currently active
    Forum Statistics
    Threads: 2,495, Posts: 17,374, Members: 77,605
    Most users ever online was 12 on January 22, 2019 3:47 pm
    Ctrlr