Thread: Code problems
View Single Post
  #7   Spotlight this post!  
Unread 15-02-2005, 15:52
doyler doyler is offline
Rookie / Programmer
#0900 (Infinity)
Team Role: Programmer
 
Join Date: Oct 2004
Rookie Year: 2005
Location: Durham
Posts: 87
doyler is an unknown quantity at this point
Re: Code problems

why would this give me a syntax error?

(this is in user_routines_fast)

Code:
if (SPEED_SETTING < 128 || speed_control > 254) 	//Check speed_setting for valid forward speed
	SPEED_SETTING = 150; 						//If not valid number set to default
__________________

Last edited by doyler : 15-02-2005 at 15:54.