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 / *38845 (-20)
  Re: Are there GOTO statements in NQC?
 
(...) I'd love to take up the personal challenge of eliminating your need for goto. Can you share your code with me? Email would be fine. Kevin (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) As a general rule I do not use goto's because I don't have a need for them. I've coded so many LOC in my life that the "if then else" structure of modern language was a step up from where I started. :^) The original BASIC and FORTAN had gotos (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) I'm probably in the minority here, but I'm going to come right out and say that goto's are not a bad thing, contrary to popular belief. In fact, I find it rather pompous when I come across admonishments in textbooks that there is no valid (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) NQC has supported the goto statement since version 2.5a3 (which was released a long time ago). (...) Nope. It's already there. John Hansen (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) Y'know, I really ought to check the latest version before saying these sorts of things. It appears that goto has actually been implemented since the last time I fiddled with NQC. Sorry for the misinformation. - Alex (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) No, NQC does not support goto. I at one point started to add goto to the language, but abandoned the effort when I installed legOS on my brick. It's not really all that hard to add goto to the NQC language; it's a couple minor changes to the (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Are there GOTO statements in NQC?
 
(...) Quoting from the NQC Guide: The goto statement forces a program to jump to the specified location. Statements in a program can be labeled by preceding them with an identifier and a colon. A goto statement then specifies the label which the (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: usb problem
 
I tried many things, I am running RedHat 9.1 with kernel 2.4.20 and firmdl is the latest one. I used the option --tty=/dev/usb/ttyUSBx and --tty=/dev/ttyUSBx (On command line or included in the firmdl.c ) but when running the firmloader it gives and (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Are there GOTO statements in NQC?
 
Hello all, I REALLY need to use a goto statement in the NQC programming project I'm doing for the RCX. Dows anybody know if such a statement extsts, and if so, what the syntax is? I know gotos are bad programming practice, but its really hard to (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: failure in communicaton between RCX & IR Tower
 
well, the IR tower is fired when I tested out with different powered hubs. I used 2.0 powered hub, the same symptom occured... the OS crashed in the identical fashion. When I used 1.0 powered hub, the tower mysterably ceased to response, then the OS (...) (22 years ago, 20-Nov-03, to lugnet.robotics.rcx.robolab)
 
  Re: usb problem
 
Did you set the --tty option on the command line? RK <lego-robotics@crynwr.com> wrote in message news:7130803.1069261...7.0.0.1... (...) solve this. (...) (22 years ago, 20-Nov-03, to lugnet.robotics)
 
  Re: Help w/install _or_ It all went so well
 
No,I didn't know they existed. What steps should I take to use the installer in an already existing install? -Wes (...) (22 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
 
  Re: failure in communicaton between RCX & IR Tower
 
hi, all, I'm going to dig into my big cable/accessories bin to for my powered usb hub tonight. I don't have a pc-usb card though. Bob, please post if your test with the pc card work... -- thank you very much... E ===...=== (...) of (...) tower (...) (...) (22 years ago, 19-Nov-03, to lugnet.robotics.rcx.robolab)
 
  Re: failure in communicaton between RCX & IR Tower
 
(...) I am having almost the same issues. I want to share my story because some of the key elements in your story match mine exactly: Computer: Toshiba Satellite/WinXP/3-USB 2.0 RCX 1.0 USB tower Software: RIS 2.0, SDK 2.5, Bricxcc (all have same (...) (22 years ago, 19-Nov-03, to lugnet.robotics.rcx.robolab)
 
  usb problem
 
I cant get my usb to work with firmdl. Does anyone know what to do to solve this. Regards www.haydar.co.uk www.haydar-gokmen.co.uk web.onetel.net.uk/~hgokmen (22 years ago, 19-Nov-03, to lugnet.robotics)
 
  Re: rcx unit
 
(...) Great idea :) (...) Does it mean you need 1) output for driving (main) motors 2) output for steering motor 3) 3 more free outputs? Also the RCX unit on the buggy is not "Lego friendly", meaning it is (...) Not. It's pure RC driven base - two (...) (22 years ago, 19-Nov-03, to lugnet.robotics)
 
  Re: failure in communicaton between RCX & IR Tower
 
(...) This sounds identical to the situation described by Rob Hendrix in (URL) Anderson from LEGO suggested via email that the USB port may not be giving the tower sufficient current. Perhaps you could try a powered hub? John Hansen (22 years ago, 19-Nov-03, to lugnet.robotics.rcx.robolab)
 
  Re: Please help (Follow up to my earlier post)
 
"Nathan Colyer" <lego-robotics@crynwr.com> wrote in message news:3.0.5.32.200311....edu.au... (...) Yes. That seems to be problematic for more people than just myself. My laptop IS a Toshiba. Its looking like Toshiba laptop's with USB 2.0 are one (...) (22 years ago, 19-Nov-03, to lugnet.robotics)
 
  Re: Please help (Follow up to my earlier post)
 
Rob, Sorry, no luck from the Robolab RCX list - the user there has been unable to overcome their USB tower problems. You wouldn't happen to be using a Toshiba would you? Their problem was only occuring on a Toshiba laptop - worked fine on other (...) (22 years ago, 19-Nov-03, to lugnet.robotics)
 
  Re: failure in communicaton between RCX & IR Tower
 
Hi, Nathan, I truly suspect that the issue is the Toshiba hardware of this particular laptop model. I have 3 Dell desktops, 3 laptops. They all have built in usb ports, either 2.0 or 1.0. They all work fine, with the identical setup up, even with (...) (22 years ago, 19-Nov-03, to lugnet.robotics.rcx.robolab)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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