The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not sure what's going on here
#1
My alien breeder program seems to lock up, on pass two through the data - on fight 27, too.

Not sure if this is a compiler error, or my messing up - though adding one to a dimensioned variable (the line it seems to stop on) shouldn't be too stressful.

Locks up on this bit:
Code:
print at 21,16;2 alienRankings(i+1,SCORE)=alienRankings(i+1,SCORE)+1 END IF print at 21,17,"+"

It prints the 2, and doesn't print the "+".

What I don't understand is why it locks up on the 3rd loop round? There's nothing different there, which is why I suspect there's a compiler error.


Attached Files
.zip   AlienBreeder.zip (Size: 24.42 KB / Downloads: 1,210)
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)