View Single Post
  #7   Spotlight this post!  
Unread 05-11-2004, 12:58
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,562
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Can't use pointers nor refrences.

Quote:
Originally Posted by Max Lobovsky
Sort of offtopic, but do you know why IFI used a pointer in the Limit_Switch_Max() function? I can't see any good reason except possibly to show that it could be done?
If they hadn't, they would have to change Limit_Switch_Max to type unsigned char (instead of void) and return the value of either input_value or 127.

Or is that what you referring to?