LUA version

Home Forums Development Other stuff LUA version

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #69255
    m.tarenskeen
    Participant
      • Topics: 30
      • Replies: 113
      • Total: 143
      • ★★

      What is the version of LUA currently used in Ctrlr? Or better: how can I find out which version of LUA is used in the version of Ctrlr I am using at any time?
      I can see the JUCE version in the “About” menu, but not the LUA version.
      I need to know because of small differences in LUA features and syntax between LUA versions, and to search in the correct versions of LUA documentation online when creating my own Panels.

      #69256
      Possemo
      Participant
        • Topics: 14
        • Replies: 638
        • Total: 652
        • ★★★

        I would be interested in that too.

        #69258
        Puppeteer
        Participant
          • Topics: 16
          • Replies: 185
          • Total: 201
          • ★★

          Last I checked it was 5.2. I think Atom was planning on integrating 5.3, but not sure if it’s been done yet or not.

          Easy way to test is to see if the LUA bitwise operators are working or not. I had to use the old long hand functions to implement bitshifting, in my current panel.

          The Puppeteer
          http://godlike.com.au

          #69259
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            Lua is 5.1 bit operations are added as a module

            #69260
            atom
            Keymaster
              • Topics: 159
              • Replies: 2945
              • Total: 3104
              • ★★★★★

              There is also a global variable _VERSION that should hold the version

              #69265
              m.tarenskeen
              Participant
                • Topics: 30
                • Replies: 113
                • Total: 143
                • ★★

                Yes, I found that one.

                console(_VERSION)

                currently gives me “Lua 5.1”

                #69280
                m.tarenskeen
                Participant
                  • Topics: 30
                  • Replies: 113
                  • Total: 143
                  • ★★

                  Feature request: Maybe the Lua version is something that could be added in the Help->About dialog?

                  No big deal, but why not?

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.
                There is currently 0 users and 64 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