To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 662
    NBC/NXC beta news —John Hansen
   I have released a new beta (b28) of NBC/NXC. You can find it at (URL) support is liable to have a few problems still since it is new and has not been extensively tested. Ditto for typedefs. I also posted a universal binary of beta 27 that was built (...) (17 years ago, 13-Apr-07, to lugnet.robotics.nxt)
   
        Re: NBC/NXC beta news —Ross Crawford
     (...) Well, I'm happy to give em a go :) ROSCO (17 years ago, 13-Apr-07, to lugnet.robotics.nxt)
   
        Re: NBC/NXC beta news —Doug Eaton
   (...) Structure support is a feature I have been waiting for. I have some large programs that should port easily once structs work. Is an array of struct expected to work? When I try to access a field within an element I get an error: # Error: (...) (17 years ago, 17-Apr-07, to lugnet.robotics.nxt)
   
        Re: NBC/NXC beta news —John Hansen
   (...) The problem with code of this sort is that the opcodes for manipulating values do not readily allow for this type of operation. To set the variable val to the value of the bxxx field of the structure type stored in your array of structs I (...) (17 years ago, 25-Apr-07, to lugnet.robotics.nxt)
   
        Re: NBC/NXC beta news —Ross Crawford
     (...) Well that technique does compile, but produces interesting results: --- #include "NXCDefs.h" struct st { string s1; int i1; } st a1[]; st v1,v2; task main() { v1.s1 = "test"; v1.i1 = 9; NumOut(0,0,v1.i1); TextOut(40,0,v1.s1); (...) (17 years ago, 25-Apr-07, to lugnet.robotics.nxt)
    
         Re: NBC/NXC beta news —John Hansen
     (...) Sorry for not getting back with you sooner about this bug, Rosco. Life comes at you fast, as they say. :-) I investigated this problem today and it looks like I've got it fixed. There were several bugs going on in NBC which were causing the (...) (17 years ago, 28-Apr-07, to lugnet.robotics.nxt)
   
        Re: NBC/NXC beta news —Doug Eaton
   (...) I keep forgetting the not-quite part of your language is an attempt to map operations directly onto the underlying VM. I was hoping to avoid rewriting code but now realize that making all elements of this structure top-level elements will (...) (17 years ago, 29-Apr-07, to lugnet.robotics.nxt)
 

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