To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8245
8244  |  8246
Subject: 
Re: lsynthcp community development project setup on sourceforge
Newsgroups: 
lugnet.cad.dev
Date: 
Mon, 20 Jan 2003 16:25:27 GMT
Viewed: 
3071 times
  
In lugnet.cad.dev, Kevin Clague writes:
> >  I don't think main() should do the fputs() on the uppercased line.
> >  Remember the thread here about not making unnecessary changes to the
> >  files.
> 
>   Yes. I was trying to make lsynth not case sensitive when it came to
> recognizing keywords, but I don't like the fact that it changes every line.

Yeah, I thought so.  Other options are copying the line before the
strupper(), or using strnicmp() or strncasecmp() for the keyword test.
The copy method is easier to do in a portable way.

> >  Perhaps there could be an option to only dump the SYNTH portions, and
> >  dump them to separate files based on an optional FILENAME at the end of
> >  the SYNTH BEGIN line.
> 
> This sounds good.  We need to be careful about how we describe optional
> parameters though.  I know we want to add a length parameter, now filename,
> and I'm sure there will be others.  I think that positional parameters may
> be a real hassle.  How do you feel about named parameters
> (FILENAME="foo.dat", LENGTH=20, UNITS=CM)?

I like the named parameters.  That makes it easy to add new ones and
be able to ignore them in older versions of lsynthcp.

Don



Message is in Reply To:
  Re: lsynthcp community development project setup on sourceforge
 
(...) I'd like to discuss changes before they are made, so I can keep track of new capabilities of the program. (...) Yes. I was trying to make lsynth not case sensitive when it came to recognizing keywords, but I don't like the fact that it changes (...) (24 years ago, 20-Jan-03, to lugnet.cad.dev)

19 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