Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ok, trying to port a roguelike project to FB....
#6
Thanks guys. It was like you said Vic...fixed now.

Ok, next error :wink:

Quote:error 10 : expected '=', found: 'SEG'

And the code where the error is:

Code:
SUB ScreenFun (arg%)

SELECT CASE arg%
  CASE 1  'Save the Screen
    DEF SEG = &HB800
    FOR x = 0 TO 4000
      SCREENSAVE(x) = PEEK(x)
    NEXT x
    DEF SEG
  CASE 2  'Restore the Screen
    DEF SEG = &HB800
    FOR x = 0 TO 4000
      POKE x, SCREENSAVE(x)
    NEXT x
    DEF SEG
END SELECT

END SUB
[Image: jocke.gif]
Website: http://jocke.phatcode.net
"Some men get the world, other men get ex hookers and a trip to Arizona."
Reply


Messages In This Thread
Ok, trying to port a roguelike project to FB.... - by Jocke The Beast - 01-14-2005, 09:12 PM
Ok, trying to port a roguelike project to FB.... - by Anonymous - 01-14-2005, 10:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)