Copyright © 2024 Sebastiaan Heins
Invalid expression.
Expected a colon operator. ':'.
Invalid type cast.
make int a = (int long)0 // the type cast is invalid
Defining a function, importing a library or including a source file must be done at the global scope.
do {
include "file.to" // must be global
}
Return statement must be inside a function.
return 0 // must be inside a function
Certain master keywords can not have extensions. (make, define, import, include)
make int a = 0 when (condition) // can not have extensions
Else statement without an if statement or when being used.
do sayln ("Hello") else sayln("Not allowed") // else being using without an if or a when
if expects a then statement.
do if (true) sayln("Error") // expected then after if
Break statement must be inside a loop or switch case.
break // must be inside a loop
Continue statement must be inside a loop.
continue // must be inside a loop