OCCRA
Go to Post If we succeed, we succeed as a team if we fail, we fail as a team but either way, we are a team - we go home together and celebrate our accomplishments, whatever they are and try to learn from our mistakes. - KenWittlief [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Events   CD-Media   CD-Spy   FRC-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 01-15-2003, 07:39 AM
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 907
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
issues with if then else

I am having issues with the new compiler, compiling if then else statements, this is what my code looks like:

Quote:
if rc_sw1 = 0 then
drive_l = 254
drive_r = 0
Else
drive_l = 200
drive_r = 200
EndIF
Every time i syntax check it, it says Expected a label. Anyone know why? Or are you having the same issues?
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 5454 Dent in the Universe Mentor
FTC 6323 Pink Nurple Mentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
  #2   Spotlight this post!  
Unread 01-15-2003, 08:15 AM
Andrew Rudolph's Avatar
Andrew Rudolph Andrew Rudolph is offline
Git 'em!
no team (Robot in 3 Days)
Team Role: Mentor
 
Join Date: May 2001
Rookie Year: 2000
Location: Orlando, FL
Posts: 907
Andrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond reputeAndrew Rudolph has a reputation beyond repute
Send a message via AIM to Andrew Rudolph
never mind we forgot to add the ' {$PBASIC 2.5} code in the top
__________________
iR3 Creative Engineering
Robot in 3 Days

FTC 5454 Dent in the Universe Mentor
FTC 6323 Pink Nurple Mentor
FRC 233 The Pink Team Mentor
FRC 1902 Exploding Bacon Mentor
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sleeping problems and neck issues SteveC116 Chit-Chat 6 07-30-2003 09:22 PM
Drill Motor/Speed Controller/Who Knows What Issues GMitchell Motors 12 01-28-2003 04:11 PM
Time issues... Brandon Martus Announcements 2 05-17-2002 12:07 PM
help!!!-Gear Legality Issues? kilpatrick Technical Discussion 1 02-17-2002 08:11 AM
Legality Issues Regarding Gears From other vendors kilpatrick Rules/Strategy 1 02-17-2002 08:04 AM


All times are GMT -5. The time now is 08:30 PM.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi