About 1,340,000 results
Open links in new tab
  1. Inline conditions in Lua (a == b ? "yes" : "no")? - Stack Overflow

    Apr 2, 2011 · There is a nice article on lua-users wiki about ternary operator, together with problem explanation and several solutions.

  2. What does operator ~= mean in Lua? - Stack Overflow

    Jan 11, 2016 · What does the ~= operator mean in Lua? For example, in the following code: if x ~= params then

  3. if statement - if, else, else if and end Lua - Stack Overflow

    May 2, 2012 · Any idea why this is wrong in Lua? if Pieza == 1 then if Rotacion == 1 then Piezas = Cuadrado1 else if Rotacion == 2 then Piezas =

  4. function - Difference between . and : in Lua - Stack Overflow

    Difference between . and : in Lua Asked 14 years, 5 months ago Modified 11 months ago Viewed 79k times

  5. resources - Lua, what is Lua? - Stack Overflow

    Lua is a powerful, fast, lightweight, embeddable scripting language. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and …

  6. lua - Roblox Admin Command Script - Stack Overflow

    Aug 6, 2013 · I'm currently trying to make a new admin command script; all I have so far is the kill command... everything I've tried (so far) works unless I use the ":* me" parameter ("*"being …

  7. Integers and floating point numbers in lua - Stack Overflow

    Jan 20, 2023 · Lua has no integer type, as it does not need it. There is a widespread misconception about floating-point arithmetic errors and some people fear that even a simple …

  8. Lua: If a number is between 1 and 20 - Stack Overflow

    Oct 12, 2013 · Lua: If a number is between 1 and 20 Asked 11 years, 9 months ago Modified 4 years, 5 months ago Viewed 21k times

  9. What does # mean in Lua? - Stack Overflow

    I have seen the hash character '#' being added to the front of variables a lot in Lua. What does it do? EXAMPLE -- sort AIs in currentlevel table.sort (level.ais, function (a,b) return a.y < b...

  10. lua - why do i get "attempt to call global 'require' (a nil value ...

    Apr 15, 2013 · This is the expedient solution, but it introduces a bunch of other issues due to inclusion of the global environment inside the module's environment. The current best practice …