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 / 3802
3801  |  3803
Subject: 
Re: Things for the next part update
Newsgroups: 
lugnet.cad
Date: 
Thu, 27 Apr 2000 15:10:33 GMT
Viewed: 
2521 times
  
In lugnet.cad, Lars C. Hassing writes:
> In lugnet.cad, Don Heyse writes:
> > This caught me by surprise as well.  Is this UPPERCASE thing written down
> > anywhere besides this thread?  A quick search of the ldraw FAQ and
> > ldlite16.html turns up no occurances of the word "uppercase".  If this is
> > an unwritten rule then perhaps it should be added to the FAQ.
> 
> The FAQ (http://www.ldraw.org/faq) shows uppercase syntax, e.g.:
> <QUOTE-BEGIN>
>   Step meta-command.
>      Marks the end of a building step.
>      Line format:
>         0 STEP
>      This command will cause LDraw to stop until you press <enter>,
>      and it will cause LDraw to save the current image into a bitmap file
>      in the ldraw\bitmap directory. These two effects are controlled by
>      the -M command line option (see ldraw.doc for info on -M).
> <QUOTE-END>
> and I think we have always referenced meta commands in uppercase
> in our discussions, e.g. FILE, COLOR, TRANSLATE, ROTATE,
> SCALE, TRANSFORM, BFC, etc.

Yes all the examples seem to use uppercase, but it's never explicitly
stated that it MUST be uppercase.  The only thing I could find that came
close was a mention in ledit.doc that said the ledit commands were documented
in uppercase for simplicity, but lowercase would also work.  I realize the
ledit commands are not the same as the ldraw syntax, but

> Tim Courtney asked for the "LDraw DAT format" the other day.
> I think the FAQ is a good place for this, it just needs to be updated...

Yes, it's the first place I looked.

> > Meanwhile I'll have to fix ldglite.
> 
> Fix what? I believe ldlite only accepts uppercase, and so does L3Input.cpp
> /Lars

I recently started adding to the STEP hook in l3view.cpp and when I couldn't
get it to work with my homemade test files containing "0 Step" I switched a
strncmp to a strnicmp.  Who knew?

This change may have made it into the latest ldglite source zip file before I
was forced to move it to the sourceforge.  I'm not sure since I'm still
reorganizing.

Don



Message is in Reply To:
  Re: Things for the next part update
 
(...) The FAQ ((URL) shows uppercase syntax, e.g.: <QUOTE-BEGIN> Step meta-command. Marks the end of a building step. Line format: 0 STEP This command will cause LDraw to stop until you press <enter>, and it will cause LDraw to save the current (...) (26 years ago, 27-Apr-00, to lugnet.cad)

11 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