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 / 3925
3924  |  3926
Subject: 
RE: NQC 1.2 in beta testing
Newsgroups: 
lugnet.robotics
Date: 
Mon, 22 Feb 1999 00:34:57 GMT
Original-From: 
Rich Thompson <richone@midsouth%nomorespam%.rr.com>
Viewed: 
1038 times
  
Some questions about proposed features

Proposed Features
* Allow variables to be scoped to tasks and inline functions
* Parameter passing and return values for inline functions

If I am reading these right, would the above new features allow RCX
*runtime* variable usage for commands like:

int foo,bar;

task sound
{
foo = 300 + Random(300)
bar = 1 + Random(20)
PlayNote(foo, bar);
}

Rich
http://rich.cmcsmart.com


----------------------------------------------------------------------------
----

-----Original Message-----
From: news-gateway@lugnet.com [mailto:news-gateway@lugnet.com]On Behalf
Of Dave Baum
Sent: Sunday, February 21, 1999 5:49 PM
To: lego-robotics@crynwr.com
Subject: NQC 1.2 in beta testing


There have been substantial changes to the code generation algorithms, so
I'm going to run a longer (and more formal) beta cycle for 1.2.  Details
can be found at:

http://www.enteract.com/~dbaum/lego/nqc/beta/index.html

Future announcements will be on lugnet.robotics.rcx.nqc

Dave

--
reply to: dbaum at enteract dot com
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 1 Reply:
  Re: NQC 1.2 in beta testing
 
(...) No, you still wouldn't be able to do that since the RCX bytecode to play a tone requires compile time constants as its arguments. The scoping would let you put variables inside of tasks (hiding them from other tasks), if you wanted... task foo (...) (26 years ago, 22-Feb-99, to lugnet.robotics, lugnet.robotics.rcx.nqc)

Message is in Reply To:
  NQC 1.2 in beta testing
 
There have been substantial changes to the code generation algorithms, so I'm going to run a longer (and more formal) beta cycle for 1.2. Details can be found at: (URL) announcements will be on lugnet.robotics.rcx.nqc Dave (26 years ago, 21-Feb-99, to lugnet.robotics)

5 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
23 hours ago
Custom Search

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