Noob Codes
How to use ?
Login
Register
Home
lua
LuaBridge and Member Functions
LuaBridge and Member Functions
snippet in lua
LuaBridge and Member Functions
user178
c:MemFunction(10)
stackoverflow.com
Login to continue
×
Submit answers directly from your webpage,
Login
Register
×
Login to continue
Submit answers directly from your webpage,
Login
Register
⇦
Previous
Add answer
⇨
Next
Other quiries
My 'randomString' function keeps returning the same result
Is it possible to change a value inside a Lua bytecode? How? Any idea?
Open a Lua .love file in Vim
Why use ')' when calling a function?
Differences between two tables in Lua
How to fix this unpack issue?
C & Lua: luaL_dostring return value
Reboot a System through Lua Script
lua - late call of class destructor
Operator overloading not working
How does Lua's floating-point handling differ from other languages?
Lua cannot find LuaRocks-installed modules on Linux
How to count the amount of words in a text file in Lua
Lua: Sort String array with varying casing
Lua functions — a simple misunderstanding
How to build C program that emedded Lua
Lua Nested Table Getting Elements
Detect file opening error on Lua
lua wireshark plugin dissector buffer length
is it possible to call lua functions defined in other lua scripts in redis?
Lua Love2D - How can I make it download a file?
Lua: 'pairs' doesn't iterate over [1]
A Lua iterator that fails silently?
No parentheses after a function name
Error: No results matching query were found. for luarocks in ubuntu
LUA: String to variables
Print number of characters in UTF-8 string
Lua script and redis - how to test for None value
Boost mutex locking on same thread
lua - Access table item from within the table
Corona SDK setFillColor not coloring when mix colors
Lua in pairs with same order as it's written
Convert decimal to hex in Lua 4?
lua c api: how to push a string with a null character in the middle?
Why is Lua arithmetic is not equal to itself?
luaL_dostring puts nothing on the stack?
Nginx + LUA, how to output file?
Returning the index of a value in a Lua table
Lua C API and metatable functions
String to Table in Lua
How to increase memory to handle super large Lua tables
lua overload: possibilities?
Is there any way to loop through an array without using pairs()?
Getting arg to work in a varag function in Lua 5.2 (integrated in Delphi)
Lua How to tell 1 from 1.0
is there a shortened “if then” syntax available in Lua?
How do I convert seconds since Epoch to current date and time?
Split a string by \n or \r using string.gmatch()
Lua check if a number/value is nan
Lua Prime Number Checker
How do I convert a lua string to a C char*?
Lua compiled scripts on Mac OS X - Intel vs PPC
Convert hex to decimal keeping fractional part in Lua
In Lua, how to get the tail of an array without copying it?
Difference Between Tables and Metatables in Lua
Safe Lua invoke C++ registered function
Linker Error Lunatic Python lua.require('socket') -> undefined symbol: lua_getmetatable
luabind: Can't call basic lua functions like print, tostring
What should a C function called from Lua that pushes a table return?
Loading a file and returning its environment
How to put a label after a return statement in Lua?
Why does my code only print nil once?
Is it possible to overload operators for strings?
Write-once table in lua?
interactive popen() Lua call
Sandboxing in Lua 5.2
Lua Table Memory?
How to bind a C++ function to lua that return multiple values with luabind?
How to get data from table in Lua
Lua inheritance - call method on super
How to split a Lua table containing sub-tables
How to trace MySql queries using MySql-Proxy?
get IP Address in Lua
Loop through all Lua global variables in C++
Awesome WM: move/resize maximized floating windows
Why can't I catch a luabind::error exception when my lua code throws an error?
“Bitwise AND” in Lua
Call an anonymous function with a local variable as parameter
Lua variable scoping with setfenv
LPeg grammar oddity
how to extract the domain from a URL
Lua: iterate through every possible k-length string given a list of symbols
how do I extend Lua with a static c++ library?
Can lua function references be used as table keys?
Can Lupa be used to run untrusted lua code in python?
Attempt to index local 'file' (a nil value) at file:write
Syntax Change in lua 5.2 C api
Lua string.gsub with Multiple Patterns
Lua: attempt to compare boolean with number
Lua sort table alphabetically, except numbers
How to embed hex values in a lua string literal (i.e. \x equivalent)
Torch tensor equivalent function to matlab's “find”?
Lua find a key from a value
How to download a file in Lua, but write to a local file as it works
Sum of the digits of an integer in lua
send lua output to non stdout
In Lua, is there a difference between local functions declared with and without the “local” keyword?
How can I end a Lua thread cleanly?
Lua: use table as args
get html with lua
Format integer in Lua
Visualize images in intermediate layers in torch (lua)
Lua - Two local variables with the same name
What does the “in” keyword in Lua do?
How can I convert an IP address into an integer with Lua?
Lua: Is there a way to concatenate “nil” values?
Using Lua, check if file is a directory
How to pass a pointer to LuaJIT ffi to be used as out argument?
Lua Match Everything After Character in String
Why does Lua prohibit goto over a local var definition?
remove all non-alphanumeric characters from lua string
Lua script to return efficient dictionary from Redis HGETALL call
Lua iterator to array
Function creating in Lua
lua_open returns null using luaJIT
Is there a more readable way to write for k, v in pairs(my_table) do … end in lua if I never use k?
Lua base converter
Finding a number in a string lua
How to load text file into sort of table-like variable in Lua?
How do I make a dynamic variable name in Lua?
get complete url using nginx and lua with openresty
How to open a web socket with Lua scripting language?
Sort Arrays in Array in Lua
_REQUIREDNAME always nil
“attempt to index a nil value”-error in Lua
Is it possible to emulate bind in Lua?
lua send mail with gmail account
Lua: attempt to perform arithmetic on a string value
How to Round to the Nearest Tenth?
Lua - convert a table into a comma separated list
Lua : Fetch a webpage
Variable name to include value of another variable
How can I detect at runtime if I am running Luajit or PUC Lua 5.1?
Lua: pass context into loadstring?
Lua arguments passed to function in table are nil
Redis Capped Sorted Set, List, or Queue?
How do you execute a lua file in sublime text 3?
Lua string.match uses irregular regular expressions?
Lua decimal sign?
How to check if a module exists in Lua?
Create a new file in Lua/LuaFileSystem
How do I get the highest integer in a table in Lua?
How does the __call metamethod in Lua 5.1 actually work?
remove '$' characters from a string
How to get lua to run sequentially
How can I load and execute a lua file from within another lua file
extending Lua: check number of parameters passed to a function
What is a way to reload lua scripts during run-time?
In Lua, how can I tell if a number divides evenly into another number?
Lua - get indexOf string
How to convert torch Tensor/ Storage to a lua table?
How can I check if a lua table contains only sequential numeric indices?
How to write a unicode symbol in lua
Corona: Attempt to concatenate global 'sceneName'
What is the alternative for switch statement in Lua language?
Lua “”==true equals “”==false
Calling functions in a Lua table from C++
Get file name from URL using Lua
A regex I don't understand
Loadfile without polluting global environment
how to set the LUA_PATH and LUA_CPATH for the zerobrane studio in linux
How to get the size of an array in LUA?
What are the benefits of coroutines?
LuaBind: How to bind specific instance of class to Lua?
Abandoning coroutines
Find the last index of a character in a string
How to use lua_pop() function correctly?
Boolean to number in Lua
Returning 'nil' from a Lua function in C vs returning 0 values
Torch: How to shuffle a tensor by it's rows?
get current date and time in lua in redis
lua http socket timeout
How do I create a Lua Table in C++, and pass it to a Lua function?
Lua : remove duplicate elements
how to urldecode a request_uri string in Lua
LuaL_openlibs() and sandboxing scripts
lua split into words
Using the TYPE command inside a Redis / Lua Script
Can I separate `init.lua` to different components in Hammerspoon?
The length of Arabic letters in Lua
How to get last N characters of string in Lua?
What are the most idiomatic ways to combine tensors in torch?
Register C function in Lua table
Lua - convert string to table
Finding '.' with string.find()
Lua - table.insert not working
Lua: Install a rock using luarocks from a locally installed rock (or from a .zip/.tar.gz)
Lua socket asynchronous calls
how to find out all properties of an object in lua?
Writing multiline text files in Lua
lua equiv of __LINE__ and __FILE__?
Lua unpack bug?
How to gracefuly try to load packages in Lua?
lua socket client
Determining if a number is odd or even in Lua
Torch - repeat tensor like numpy repeat
Setting the global LUA_PATH variable from C++/C?
Recreating setfenv() in Lua 5.2
How to make namespace in lua?
How to keep the order of a Lua table with string keys?
downloading and storing files from given url to given path in lua
Eval function in LUA 5.1
How do I apply formatting like italic or bold to text using ANSI escaping sequences in a console?
Lua script throws error “attempt to call a nil value (field 'deposit')”
Is it possible to list all the functions of a table?
Functions in Lua could store local values between calls?
ffi.C missing all declarations for all symbols
LuaJit FFI Return string from C function to Lua?
Lua ternary operator - multiple variables
Convert a CSV file into a table with defined keys in Lua
Lua 4.0 undeclared variables and conditional statements
Calling a c function from lua 5.2 generates a syntax error
Lua socket.http sink parameter
How to focus client in Awesome WM
Lua: Include file in the same directory
How do I display array elements in Lua?
Lua: How to set a variable to zero
Lua table.concat
Why won't applications in Program Files run using os.execute in lua?
What is the C interface to Lua for accessing a table's key/value pairs?
How safe is comparing numbers in lua with equality operator?
array element has incomplete type
How to make an infinite loop in Lua code?
Lua: Random: Percentage
Strange logic in Lua script?
Do file only once in Lua
Setting content dispose based on url / nginx
Email address validation using corona sdk
Use assert with pcall in Lua
How can I remove text inside brackets in Lua?
Measuring elapsed time in lua (+love2D)
How to pop / clean Lua call stack from C
Equivalent to Lua “and/or” in C++?
How to iterate over pairs of elements in table in lua
LUA count repeating characters in string
Lua, Error Handling pcall()
Why isn't 2 equal to √2 * √2?
Lua metatables: class fields vs instance fields
How to wipe or reset a table in Lua
Should parameters be used as variables in Lua?
lua tables, simplest way to overload __tostring
Redefine type of variable in Lua
Lua 'end' expected (to close 'function' at line near '<eof>'
lua - How to get decimals to round down on the half
luasql nil value
How to pass Table(list of numbers) from Lua to C and access it
Lua Base64 Encode
Convert String into Arithmetic Operator
Returning the inside of a table from a function
Global function in lua
putting '%' in string.gsub() in Lua
Lua metamethods not being called
Error handling in Lua using longjmp
Getting table entry index
How do you assign multiple values in a key for a table?
Redis - Why is this code SO fast?
require('image') not working in Torch7
Why is lua so slow in redis? Any workarounds?
Lua - string.find(x, “a - b c”) gives nil value
How does this C code (from lua library, Torch) even compile/work?
How to find which version of Lua do I use?
How to to add “th” or “rd” to the date
Is there an Equivalent scanf function in Lua?
Error loading module (Lua)
destructors on gc-ed lua objects
C++ Preprocessor metaprogramming: obtaining an unique value?
LuaJIT and C++ - call to Table.Method() does not work in loadstring/pcall
NewLine(\n) alternative in Lua?
Spring Data Redis: Redis Pipeline returning always null
Lua - rewriting coroutine recursion to tail-call recursion
Why print(print()) not work like print(type(2)) in Lua?
cairo_text_extents_t is not recognized by lua
Scrapy + splash: can't select element
access to global variables in lua
Lua elseif not working properly
Lua How to create custom function that can be used on variables follow up
Sum of primes in a number - Lua
How to set a “require” to return a table/module from Lua C API?
return several parameter from lua C function
Premake4 utility and application entry point
is there a way to define auto-escaped string in lua (raw)?
Lua: store unspecified number of items in return value
Lua - simple iterator assignment?
Lua string inside variable reference
Control problems
Corona table.sort()
Displaying Lua tables to console by concatenating to string
Lua: Finding a token in a delimited string
how to get caller of function within a function in lua?
Building and Installing Lua 5.2.0 on Mac os x Lion
Lua C API: Handling and storing additional arguments
Defining Lua methods as initialization
Regular Expressions for Japanese in Lua
Dynamically assigned table variables?
Error with self invoking anonymous functions in Lua
How do I insert a string into another string in Lua?
Lua table diff key function
Reassigning strings to a set list of values in an array
Two instances of a Lua “Class” are the same “object”
How can I access values from multidimen array in lua?
Match whole, exact text line with Lua
Lua os.date() - What's the difference between *t and !*t
String match URI with Lua patterns
Key repeats are delayed in my Hammerspoon script
Parsing key value pair with Lua
Lua loadstring Function fail
image.display window in lua/torch
How to manage large strings
Passing a table as argument to function in Lua
Rbx.Lua - Why can't I store a .txt file as a table?
Parse parameters out of URL in Lua
Passing an array name to a function, then populating it
How do I create a save game feature in love2d?
Comparing integer variables in LUA
Creating a Namespace In Lua Across Files
How to nest modules into namespaces when registering functions from C in Lua?
What is the scope of a Lua variable?
Controlling Variable Scope In Lua; It's changing both Vars
Reading a file on Lua
How do I compare the contents of a capture with another string in lua
A calculator using Lua string matching
the following lua code does not make sense
Correct pattern doesn't work in Lua gmatch
Compare string if there's at most one wrong character in Lua
Lua HTTP download and save to file
Trigger build when non-source files change
Using Lua tables as 2-dimensional arrays
How to bind a std::map to Lua with LuaBind
Table insert gives a nil error
What's the proper way to use coroutines for event handling?
jump object on collision
LuaLanes Unable to pass global variables between functions (in a single lane)
Subtracting hours from os.date()
Cannot link with Lua library on Linux
checking for boolean true / false result in postgresql query
why do i get “attempt to call global 'require' (a nil value)”?
Can I run Lua interpreter in evaluator mode?
Only one tcp server allowed ESP8266 with Lua
how to escape a variable in Lua
Regarding colon operator in Lua
lua not modifying function arguments
Choosing Scripting lang
Lua: How to check if a string contains only numbers and letters?
Lua gsub second instance
Auto-change the physics of an object after a change of his size
Getting touch events when objects have an alpha of 0 In Corona SDK
Return a percentage sign in Lua string.format
How to check if a value is greater than one number and less than another number in Lua?
Lua - Attempt to call global (a nil value)
Reading a binary file into an array
Pushing an executable function pointer?
Lua - Insert table values
Accessing Lua Functions On Other Files
Can we do pipeline in lua script of redis
Lua 5.1.4 math.random not actually random
Split string in equal chunks in Lua
Lua, Altered Program Flow When Rquired File isn't there
How to check if a file is executable in Lua?
Lua return directory path from path
Load a Lua script into a table named after filename
Lua add two tables
Limit requests frequency of each IP using NGINX & Lua
Function definition in Lua
How to filter out user defined globals in Lua from C++?
String manipulation in Lua: Swap characters in a string
Lua throwaway result
Love2d Rotating an image
wrong lua table size when using string key index
Lua return from function problem
Finding the first string that matches a pattern in Lua (XML pattern matching)
String concatenation in Lua
Why are there only 4 fields in this Lua table? Shouldn't there be 7?
How to call a function within a function in Lua?
How to loop through the table and keep the order?
Thread locals in Lua
Access iterator variable in Lua
How to avoid Redis calls in Lua script limitations?
Lua 5.2 Can't access function in C library
time coutdown in corona sdk
How to find and replace words containing particular characters in Lua?
Replace a table value for a key in lua
detecting single nil argument in lua
Lua- Iterating nested table
addEventListener() in Lua
Analog of 'arguments.callee' in Lua
how to do continous action on corona in tap function
Scite Lua: string comparison raises “attempt to call a string value”?
c++ classes & lua
Find word in a string using a regex pattern lua
Can you convert a table into a vararg without unpack?
Lua iterate over letter-number pairs from string?
How do i convert binary to decimal (LUA)
How to iterate from last index to first in table
Nginx: Grant access by comparing a header value with the contents of a file; possible?
return parameter in lua
Trouble adding elements to a table (array in Lua)
vimrc test for if_lua during vundle BundleInstall
lua: testscript.lua:37: '}' expected near '='
How do I sort a table while keeping a record of the original positions?
How do I set, via the lua C API, the environment table for a chunk of lua code prior to running it?