If-else Statements in Lua : Lua Tutorials Series # 5

preview_player
Показать описание
An if statement tests its condition and executes its then-part or its else-part accordingly. The else-part is optional.
Рекомендации по теме
Комментарии
Автор

Hi,
I have an assignment on Lua and i have been going through your
tutorials on Youtube, How can I make my output of the 'if statement'
to display one part of the statement. My code has multiple if
statements but i want to display one at a time. At the moment the
results are all displayed simultaneously yet I want to run each if
statement end it, then clear screen and then the second automatically
runs again, up to the 10th one,

Your immediate response will be appreciated.

fanniedlamini
join shbcf.ru