ClosedBit error docs

CB_ERR_UNKNOWN_KEYWORD

Unknown command or keyword. A statement starts with a word that is not part of the CBP language.

Why it happens

A statement starts with a word that is not part of the CBP language.

How to fix it

Check spelling, use a real command, or move function calls inside fn main or another function body.

Copy-paste fix pattern
fn main() {
    println("function calls go inside a function")
}
Runtime and Studio now show this kind of page from the error dialog: plain message first, stable code second, original details third.