Loops in SRON
Loops are the most vital component of programming which is used to perform a set of tasks multiple times.
SRON provides 3 types of Loops:
{
@ for loop demonstration
name : Main
for : {
range : (Int i = 1, 11)
console : ("Hello, SRON! \t")
}
}{
@ while loop demonstration
name : Main
while : {
condition : true
console : ("Boooom!!\n")
}
}Last updated