Getting started with Lua (Part 4)

Basic Programming Constructs — Level 3(loops)

You can access the previous sections here — Part 1 | Part 2 | Part 3

In this article we will see how loops are written in lua ( essentially, the syntax). We will look into 3 most commonly used loops —

1. while loop

2. for loops

3. repeat-until loops

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lars Nielsen

Making ML and AI available to everyone. One commit at a time. | Quantitative programming | Python | Arduino | Comp Vision | pythoslabs@gmail.com / @PythosL