For the complete documentation index, see llms.txt. This page is also available as Markdown.

0117: Invalid function name

Compiler found a function declaration with the name that is not a valid identifier. A function name must be alphanumeric starting with a letter or an underscore (_).

Examples:

function 123 // Error: Invalid function name 123. Name must be a valid identifier.
end

Possible solutions:

  • Rename the function so that its name is a valid identifier:

function f123
end

Last updated