To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 647
646  |  648
Subject: 
Re: PRGM button - am I missing something?
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 12 Jan 2000 02:30:21 GMT
Viewed: 
1319 times
  
Ben Jackson schrieb:
I think you need `dll -p0 foo.lx' and `dll -p1 bar.lx'.  That syntax is working
fine for me.  Right now my battery meter is in slot 0 (fading fast!) and the
program I'm debugging is in slot 1.

If getopt is working right, the position of switches shouldn't matter.
If they do, it's broken.

Markus.



Message has 1 Reply:
  Re: PRGM button - am I missing something?
 
(...) From getopt(3) on BSD and other systems: When all options have been processed (i.e., up to the first non-option argument), getopt() returns -1. However, from the Linux manpage: By default, getopt() permutes the contents of argv as it scans, so (...) (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: PRGM button - am I missing something?
 
(...) I think you need `dll -p0 foo.lx' and `dll -p1 bar.lx'. That syntax is working fine for me. Right now my battery meter is in slot 0 (fading fast!) and the program I'm debugging is in slot 1. --Ben (25 years ago, 12-Jan-00, to lugnet.robotics.rcx.legos)

7 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
    

Custom Search

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