To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1636
1635  |  1637
Subject: 
Re: NQC ideas
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 11 Mar 2004 10:30:19 GMT
Viewed: 
4871 times
  
"John Hansen" <JohnBinder@aol.com> writes:

Would it be too contrary to C/C++ to introduce a construct
in NQC which allows for local stack-based variables to be
declared only at the beginning of a subroutine.

I'd say go for it, it is still quite uncommon for C programmers
to put their variable declarations elsewhere.


Jürgen

--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/



Message is in Reply To:
  NQC ideas
 
NQC is definitely sticking with its C heritage with respect to semi-colons. Elisabeth mentioned fancier math and IP features. Neither of those seem possible when you consider that the compiler has to generate code that runs on the LEGO firmware (...) (21 years ago, 11-Mar-04, to lugnet.robotics.rcx.nqc)

6 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