Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error 10
#1
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:
f a fly walked, would it be called a walk?
Why dosn't someone make a word that rymes with purple or orange?
WHY AM I SO ANNOYING? Becuase I wanna!
Why am I typeing this? Cuz im bored!
Reply
#2
Source code could help.
Reply
#3
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'd knock on wood, but my desk is particle board.
Reply
#4
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.
Jumping Jahoolipers!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)