LUA version

Home Forums Development Other stuff LUA version

This topic contains 6 replies, has 4 voices, and was last updated by  m.tarenskeen 2 years, 2 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #69255

    m.tarenskeen
    Participant
    • Topics: 26
    • Replies: 98
    • Total: 124
    • ★★

    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
    Possemo
    Participant
    • Topics: 13
    • Replies: 454
    • Total: 467
    • ★★

    I would be interested in that too.

    #69258
    Puppeteer
    Puppeteer
    Participant
    • Topics: 14
    • Replies: 178
    • Total: 192
    • ★★

    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
    atom
    Moderator
    • Topics: 156
    • Replies: 2940
    • Total: 3096
    • ★★★★★

    Lua is 5.1 bit operations are added as a module

    #69260
    atom
    atom
    Moderator
    • Topics: 156
    • Replies: 2940
    • Total: 3096
    • ★★★★★

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

    #69265

    m.tarenskeen
    Participant
    • Topics: 26
    • Replies: 98
    • Total: 124
    • ★★

    Yes, I found that one.

    console(_VERSION)

    currently gives me “Lua 5.1”

    #69280

    m.tarenskeen
    Participant
    • Topics: 26
    • Replies: 98
    • Total: 124
    • ★★

    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 21 guests online
No users are currently active
Forum Statistics
Threads: 2,143, Posts: 15,125, Members: 11,849
Most users ever online was 5 on March 28, 2018 6:11 pm
Do NOT follow this link or you will be banned from the site!