View Single Post
  #1   Spotlight this post!  
Unread 09-02-2004, 18:22
ShadowKnight's Avatar
ShadowKnight ShadowKnight is offline
Registered User
FRC #1719 (Umbrella Corporation)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2003
Location: Alexandria, VA
Posts: 142
ShadowKnight has a spectacular aura aboutShadowKnight has a spectacular aura about
IFI loader help!

Ok, so i've been trying to download code to the EDUbot for about 2 weeks, but it doesn't work. When I tried to download, a box would pop up saying:

ERROR '6'
Overflow

I would also get back a file called ERROR.MCP, filled with a buncha hex numbers. And the program light would stay yellow. I have IFI_Loader v. 1.0.7 and the memory isn't a problem, the .map file says 41% is used.

I tried copying my code into the default code function by function, and it starts messing up when i get to my absolute value function. For some reason, this works:

short long abs(short long num)
{
return num;
}

but this doesn't:

short long abs(short long num)
{
if (num < 0) return -num;
else return num;
}


Help me please!
__________________
Gracious Professionalism isn't simply courtesy or tradition, it's a way of life

I met her through FIRST...

We only are where we are by God's providence and by no other...