Are standards for official parts too strict?


Re: Are standards for official parts too strict?
#38
I just saw this
Code:
is due to the fact that DATHeader for some time brute-forcely replaced all comments 0 by 0 //,
even empty ones. For empty
0
lines that never was a requirement.
and like to leave my (author of DATHeader) comment.

The 0 at the start of the line indicates this line to be a comment. The first word that follows this 0 (separated by a white space) might be a comment or a Meta command.
To indicate that the content of the line is a comment and not any file processing directive the // has been choosen.
DATHeader see that it is not a meta command and therefore it has to be a comment, so add a //. It is that simple.
Just do not use a single 0 on a line, instead leave that line blank and the result is perfect for all Smile

It is just coded what I read in the specs:
Body Meta Commands

Code:
Only the following meta commands are permitted in the body of official parts:

    0 // style comments
    BFC CW
    BFC CCW
    BFC CLIP
    BFC CLIP CW
    BFC CLIP CCW
    BFC NOCLIP
    BFC INVERTNEXT
Taken from http://www.ldraw.org/article/512.html#metabody
I (or in that case DATHeader) does only force things that are discribed in our standards!

If that is not the case, please drop me a note (or even better - post in the forum) so I will change DATHeader accordingly like I have done now for some years.

cu
mikeheide
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Are standards for official parts too strict? - by Michael Heidemann - 2013-01-15, 19:06

Forum Jump:


Users browsing this thread: 2 Guest(s)