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 / 1012
1011  |  1013
Subject: 
Re: NQCEdit
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 28 Feb 2001 23:00:05 GMT
Viewed: 
2179 times
  
that I want to point to your attention to: when you compile a program
NQCEdit automatically saves your source file. This is not stated anywhere
Actually, this is a GOOD thing. I've never seen a compiler that
doesn't save the source first. Compilers can occasionally do wierd and
not-so-wonderful things which may include full or partial system
crashes. Given this possibility, you WANT it to save your source file
first. It's better than having the system crash after a long debug
session only to find that your corrections are gone with the wind.


Suppose I want to test if a particular statement compiles well: I open one
of my old NQC programs, insert somewhere a new statement, click "compile",
look what happens then close NQCEdit. That made a permanent modification to
my old source file!

My trick here is "ERASEME". This is catch-all filename that I use for
exactly the purpose you propose above. I never experiment with good
code. If I have to try something I'm not sure about, I copy the
original to ERASEME (eraseme.prg, eraseme.txt, eraseme.src, whatever
applies) and do my experimenting there. By using this convention, I
can occasionally and safely erase every occurrence of ERASEME.* on my
drives. Similarly I know the all the ERASEME files are junk and
shouldn't be used in final programs.

Matthias Jetleb
VA3-MWJ



Message has 1 Reply:
  Re: NQCEdit
 
"Matthias Jetleb" <jetleb@netcom.ca> write: (...) Hi Matthias, yes I agree this is a good thing, if you want and know that it happens. Actually most IDEs allow you to enable/disable the save-before-compile option (that's usually disabled by (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: NQCEdit
 
(...) Hi Martin, I was pointed to Mikael's program by an Italian friend, Carlo Ottolina, who told the lugnet.loc.it community NQCEdit is very good: (URL) tried your brother's program and, from what I've seen up to now, it's almost perfect. There's (...) (24 years ago, 27-Feb-01, to lugnet.robotics.rcx.nqc)

10 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