To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 26587
26586  |  26588
Subject: 
Re: NQC programming guide
Newsgroups: 
lugnet.robotics
Date: 
Wed, 6 Dec 2006 04:51:51 GMT
Original-From: 
Lucio De Re <[lucio@]Spamcake[proxima.alt.za]>
Viewed: 
3296 times
  
So why use an array with say 5 values and not 5 variables?

Because there is an additional relationship established between the
array elements, namely that of succession.  Five variable names would
not have such a property.

Now go and read a book on computer programming, please.

++L



Message is in Reply To:
  Re: NQC programming guide
 
(...) So why use an array with say 5 values and not 5 variables? (...) so it's always +1, not like my pocket calculator which will keep adding the original value of x if I use a double + (5++ =10, 15, 20, etc.) (...) (18 years ago, 5-Dec-06, to lugnet.robotics)

14 Messages 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