answersLogoWhite

0

What is the loop command in Lua?

Updated: 12/8/2022
User Avatar

Wiki User

13y ago

Best Answer

while true do

--do stuff

end

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the loop command in Lua?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between break function and continue function?

The 'break' command will stop a loop from going any further, where a 'continue' command will start the loop over at the top (or bottom) of the loop, bypassing other instructions that may be in the loop. The 'continue' command will not stop a loop, but a 'break ' command will.Note: these statements aren't commands or functions.


Which command is used to skip the rest of a loop and carry on from the top of the loop again?

From inside any loop statement, the continue; statement will skip any remaining statements and re-evaluate the loop's conditional expression. If that expression remains true, a new iteration of the loop begins, otherwise control passes to the statement that follows the loop. Note that in a for or while loop, the conditional expression is defined before the loop body but in a do loop it is defined after the loop body.


How do you make a loop in notepad for use in a batch file?

The command "for" start the loop and "do" is the end of the loop, this two commands should be used with care especially in a autoexec.bat it can put your PC in a infinity loop and you might not be able start it again. For help on all DOS commands in the command prompt just type the word "help" or "?" a space and then the command IE "C:/>help for" or "C:/>? for" then DOS will list everything you need to know about the command.


Is there a LUA translator?

No, Lua is easy as is. :)


How execute a movie in loop through mplayer?

with command `mplayer -loop number-of-repeatsfilename`if number-of-repeats is set to 0, the movie would loop for ever.


How do you rotate a brick in Roblox with out a rotate tool?

You could use your character to push the brick until it is at the angle you want, or you can use the LUA command line to execute a script that will modify the brick's CFrame. (The second option would require a knowledge of LUA scripting on Roblox.)


What is open loop control signal?

Open loop control, means that there is no feedback. A command is sent, but no confirmation that it has been received or executed or by how much.


How does Lua work?

go to the LUA offical internet site


When was Lua Getsinger born?

Lua Getsinger was born in 1871.


When did Lua Getsinger die?

Lua Getsinger died in 1916.


When was Dismorphia lua created?

Dismorphia lua was created in 1869.


Can a function be inside another function in Roblox Lua?

This is not Python, nor C. Lua is different...