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 / 708
707  |  709
Subject: 
Re: NQC stdin & stdout
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 16 Aug 2000 17:14:44 GMT
Viewed: 
4923 times
  
Dave Baum wrote:

> In article <3999C39C.190471B6@akasa.bc.ca>, Dean Husby
> <nntp@akasa.bc.ca> wrote:
> 
> > Dave Baum wrote:
> 
> 
> > > From a more practical standpoint (given that I'm unfamiliar with the
> > > Windows capabilities for exec'ing tasks, pipes, etc), if I had to do
> > > this I'd probably take the lazy way out and have the calling program
> > > just create a temp file, and pass that on the command line to NQC.
> > > Inelegant, but very easy to implement.
> > 
> > 
> > Yes, that would be the easiest way but also the most annoying as it
> > forces me
> > to change the file name on the users editor. I'm looking in to a DDE
> > command
> > way to avoid this, but so far without success.
> 
> 
> Could you copy the entire contents to the clipboard, then have your
> program write the clipboard data to a temp file?  (you'd still avoing
> having to create pipes, etc)


That's my current plan. I tried the normal way and it lost the file name,
the current dir, everything. It has become VERY frustrating... But I should
have it soon. I'll be offering it free on our site. I'll post when it's
done.

Dean
--
Coin-Op's For Sale!: http://www.akasa.bc.ca/tfm/coin-op.html
Dean's Lego Workshop: http://www.akasa.bc.ca/tfm/lego_wr.html
Vancouver Lego Club: http://www.akasa.bc.ca/vlc



Message is in Reply To:
  Re: NQC stdin & stdout
 
(...) Could you copy the entire contents to the clipboard, then have your program write the clipboard data to a temp file? (you'd still avoing having to create pipes, etc) Dave Baum (26 years ago, 16-Aug-00, to lugnet.robotics.rcx.nqc)

7 Messages in This Thread:


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

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