View Single Post
  #15   Spotlight this post!  
Unread 27-04-2010, 14:05
Schnabel's Avatar
Schnabel Schnabel is offline
Seriously I'm almost never serious!
AKA: Eric Schnabel
FRC #0469
Team Role: Mentor
 
Join Date: Apr 2006
Rookie Year: 2003
Location: Troy, MI
Posts: 1,174
Schnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond reputeSchnabel has a reputation beyond repute
Re: List of Killer Bee Bot Bottoms

I found an error in your code, let's debug:
Quote:
If (33=Team) WIN();
In this setting, 33 is your variable (assuming you defined it earlier). Let's assume 33 is currently set to null. In your example above, you are saying "If set 33 to Team then call Win" However Team is not a valid variable, instead it should be 'Team'. So that would kill you first. THEN you are setting 33 to Team, I think you would rather do a Binary test now wouldn't you? You would rather it be "If 33 is Team then call Win" which would require double =. So for this statement to function properly, you should have wrote:
If (33 == 'Team') WIN();
.
.
.
.
.
.
.
.
.
.
.
.
.
.
__________________
I win! XD
Reply With Quote