list of FreeBASIC errors

This page lists FreeBASIC errors and common causes.

Duplicated definition

You have used the same name for two things. One example of this is repeating a label.

Expected End-of-Line, found 'something'

This can happen if you forget a comma in a data statement.

data "thor", "loki" "athena"

In this case, the error would be : Expected End-of-Line, found 'athena'

Expected identifier, found ','

This can be caused by mistakenly typing two commas instead of one.

read j$(e),, k$(e), l$(e)

Variable not declared, found: 'x'

This can happen if you are using option explicit and have failed to declare a variable with dim.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution 2.5 License.