View Single Post
  #2   Spotlight this post!  
Unread 02-02-2003, 20:04
Raven_Writer's Avatar
Raven_Writer Raven_Writer is offline
2004 Detroit & Pittsburgh Winners
AKA: Eric Hansen
FRC #0005 (RoboCards)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2002
Location: Melvindale
Posts: 1,549
Raven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really niceRaven_Writer is just really nice
Send a message via ICQ to Raven_Writer Send a message via AIM to Raven_Writer Send a message via MSN to Raven_Writer Send a message via Yahoo to Raven_Writer
Re: NOT condition in PBASIC?

Quote:
Originally posted by CHSguard72
In C++ there is a condition, AND NOT which uses the syntax "!".
An example of this is: variable!=2

is there any ! command in PBASIC? If not, what syntax would I use to say "IF lightSensor1 DOES NOT EQUAL 1 THEN..."

thanks
IF lighSensor1 ~= 1 THEN ...
__________________
AIM: wisprmylastbreth
EMail: nightskywriter@gmail.com
Y!: synsoflife

"ai yoru ga" -- "Love the nights"