To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 8013
8012  |  8014
Subject: 
Assignment Abbreviation
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 22 Aug 2000 15:15:27 GMT
Viewed: 
1077 times
  
Hi all,
    I am using the free version of IC (2.860 BETA).  I have some trouble
with the assignment expression abbreviation, i.e. count += 2;.  According to
the manual, I can do:

count is declared as type int.

count += 2;
count -= 2;
count *= 2;
count /= 2;
count <<= 2;
count >>= 2;
count &= 2;
count ^= 2;
count |= 2;

which I can.  But I can't do:

count %= 2.

IC gives me an syntax error.  Did anyone try that and figure out why it
would be an syntax error?

Thanks.
--

                                                            Ray



1 Message in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR