Thread: Look-Up Table
View Single Post
  #1   Spotlight this post!  
Unread 02-03-2005, 18:54
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Look-Up Table

Would this concept be valid:

table(1)=5;

i=1
j=0

j=table(i);

"J"should return 5.

In BASIC, I would have to set the start to be 0, use a dim to se ther range to X. Is this necessary in C?

Thanks In Advance
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).

Last edited by amateurrobotguy : 02-03-2005 at 19:11.