To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cadOpen lugnet.cad in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / 14510
14509  |  14511
Subject: 
how does a line ends?
Newsgroups: 
lugnet.cad
Date: 
Fri, 6 Apr 2007 22:32:09 GMT
Viewed: 
1503 times
  
In the LDraw File Format (http://www.ldraw.org/Article45.html) it is
written that "LDraw files are plain text." and "Each line in the file is
a single command.".

Also in the LDraw.org File Format Version 1.0.0
(http://www.ldraw.org/Article218.html) there is no more specification.

I found some parts that do not have a "carriage return" and "line feed"
to determine the end of the line.

They have instead only a "line feed".

So it is not easy for a programmer to deal all possiblities. It would be
great if we can agree to define a line as text with "carriage return"
and "line feed" at the end.

Any suggestion or comments on this?

I like to have a statement about this also in the File Format (see above).

cu
mikeheide



Message has 2 Replies:
  Re: how does a line ends?
 
(...) Hi Mike, This thread ((URL) contains various bits of discussion about the issue. Given that all software works with DOS newlines (cr+lf) and some doesn't work with the other varieties I personally think that cr+lf should be forced on all (...) (18 years ago, 6-Apr-07, to lugnet.cad)
  Re: how does a line ends?
 
(...) There was some discussion about this issue recently. Unfortunately, this is not the kind of problem that can be solved by tightening up the spec. The problem is that people use different text editors on different operating systems to create (...) (18 years ago, 6-Apr-07, to lugnet.cad, FTX)

24 Messages in This Thread:











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

Custom Search

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