Qbasicnews.com

Full Version: Error 10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When I compile, I do this:

fbc.exe test.bas

and I get

test.bas(2) : error 10: Expected '=', found: '13'

how can i fix :???: Thanks :bounce:
Source code could help.
You can fix it by removing the = from the line that causes the error. Tongue Or, you could always do what Jofers suggested. I think his idea would work better though.
I think i know what's happening... i bet your line 2 is this:

screen 13

freebasic doesn't support graphics statements. Smile So if your trying to compile a graphical program that uses pset, poke, put, etc. etc. you'll have to wait until sterling releases his lib. Freebasic thinks screen is a variable name.