You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement break and continue keywords for loops. These keywords should only be usable inside decision blocks like:
num def add(num x, num y)
num z = x + y
end {
z == 8 : continue,
z > 10 : break,
default : f3()
}
and such functions that utilizes these keywords, should automatically be recognized as looping functions therefore can only be called inside loop. If such function is called outside loop then an error must be thrown.
The text was updated successfully, but these errors were encountered:
Implement
break
andcontinue
keywords for loops. These keywords should only be usable inside decision blocks like:and such functions that utilizes these keywords, should automatically be recognized as looping functions therefore can only be called inside loop. If such function is called outside loop then an error must be thrown.
The text was updated successfully, but these errors were encountered: