Author Topic: Bugs in PONG.YAB  (Read 3985 times)

0 Members and 1 Guest are viewing this topic.

Offline Wenlock

  • C= 64
  • **
  • Posts: 68
  • Karma: 4
  • BASIC & Testcards rule.
    • View Profile
Bugs in PONG.YAB
« on: July 12, 2009 »
Yeah, here's some more.

In sub draw_score

text XSIZE - 50, 20, str$(score(1)), "cc"
Should be (score(2))

and

In sub_check_leftright_collission

score(2) = score(2) + 2

should be - score(2) = score(2) + 1

Time to fire the proofreader!  :D


Incidently, when I've been unable to spot my typos I've found Xfdiff-cut in Puppy Linux invaluable, but have to use Windows to extract the text from my saves as the Linux text editors are too smart - "this does not appear to be a text file"..

Wenlock
YABASIC ROOLZ!

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Bugs in PONG.YAB
« Reply #1 on: July 12, 2009 »
You might try using the Linux utility 'strings'

strings < yabasicsave.bin > yabasicsave.txt

That'll remove the binary bits.

Jim
Challenge Trophies Won:

Offline Wenlock

  • C= 64
  • **
  • Posts: 68
  • Karma: 4
  • BASIC & Testcards rule.
    • View Profile
Re: Bugs in PONG.YAB
« Reply #2 on: July 12, 2009 »
Thanks Jim,

I`ll try that next time I`m seatching for bugs. 

Not many left to type, and mainly games at that.

Wenlock.
YABASIC ROOLZ!

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17414
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Bugs in PONG.YAB
« Reply #3 on: July 12, 2009 »
What are you going to do when you run out of things to type? :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Wenlock

  • C= 64
  • **
  • Posts: 68
  • Karma: 4
  • BASIC & Testcards rule.
    • View Profile
Re: Bugs in PONG.YAB
« Reply #4 on: July 13, 2009 »
Hm, I could play games, or maybe even  :inspired: try some coding.

Wenlock
YABASIC ROOLZ!