Hi all
I am completely new to Lua, but I am required to learn it for a project at work regarding asset trackers.
Could anyone who knows Lua fluently, please advise if there is sufficient data in the below PDF to suitably control these devices and customise them...
Requirements: a lua interpreter sitting tight with you
You may be new to lua, so keep in mind: Lua and Luau (Roblox Lua Scripting) may not have the same process.
You will learn how to show the text you want in the screen.
So, here we go.
We can do this by using the power of print()
Here's...
Hi, I'm attempting to write an interpreter in Lua, and the first idea was to make it able to run a simple print function. If anyone is able to answer what's wrong, i would appreciate it.
Here is my main code:
nm = require "numbers"
exec = false
function readAll(file)
local f =...
Hi, I am a hobby programmer and my main subject is alternative music notation. I want to write a program that can draw PianoScript music notation. Previously I did write in python and used Tkinter canvas to draw the notation.
I want to try to use Lua for the project because of the way I...
I'm new to lua and I need help please, I've never done lua before.
How do I create a 4x4 Lua Grid that's populated with random numbers and responds to inputs?
i have an easy question, i don't understand why this works:
local fact
fact= function (n)
if n == 0 then return 1
else return n*fact(n-1)
end
end
print(fact(4))
and this one not:
local fact = function (n)
if n == 0 then return 1
else return n*fact(n-1)
end
end
print(fact(4))...
I am having trouble decompiling this LUA 5.2 code. I am thinking it might be encrypted.
Can someone help me out? I will pay for your time.
https://github.com/ounick28/ounick
Is it possible to write a filter for a table search by data attributes
<table>
<thead>
<tr>
<th tabindex="0">Item</th>
<th tabindex="0">Level</th>
<th tabindex="0">Type</th>
<th tabindex="0">Class</th>
</tr>
</thead>
<tbody>
<tr...
Hi everyone,
I am trying to integrate a code which is a variational auto encoder model (where the prior of the VAE is a mixture of Gaussians) from Lua (torch) to pytorch as part of my model and I have a hard time to fully understand the Lua script (I didn't find a tutorial of the language)...
Hello everybody. Im new to coding in general and i started to learn lua by watching CODE BLUE's tutorials on youtube.
But i could need help from someone that has time and wants to help me with this.
Just lua in generall but i have also an example lua error that i cannot fix bc i just dont know...
I've been trying to make a door open and close, simple, yet I've only got a week's worth of experience with this coding thing, so I'd like some help.
My code works, but it only works for one player, I would like if the code would open the door for all players in the server, could anyone help...
Hey there.
Over on the Lua board, I recently wrote a post regarding the differences between vanilla Lua and all of it's off-shoots - Including RBLXLua(The Lua off-shoot used in the online building-game, ROBLOX).
In my opinion, I think that anything relating to Lua off-shoots(Such as RBLXLua)...
Hey there.
I'm writing this as a tutorial post for people looking to into learning Lua. What I'm going to be covering is both the official Lua language itself and all of it's variants.
When I say "variants", I mean any game or piece of software that uses it's own version of Lua, with custom...
What Is Lua
Lua is a Scripting-Language designed by Roberto Ierusalimschy and a bunch of other people in 1993. The Language is
designed to be used as a Language that can be embedded into C/C++ Programs(The Language itself has a native C API).
This API is what can be used to extend the...
Hey this tutorial is about properties of a part what can be very useful
in scripting.
Before starting make sure you have the properties tab opened, if it isn't you can open by watching the link bellow.
https://gyazo.com/16f521aef8561ed626060f9df60a679d
Now if you insert a part in to the...