To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dev.org.ldrawOpen lugnet.cad.dev.org.ldraw in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / Organizations / LDraw / 3989
3988  |  3990
Subject: 
Prefix character on meta commands?
Newsgroups: 
lugnet.cad, lugnet.cad.dev.org.ldraw
Followup-To: 
lugnet.cad.dev.org.ldraw
Date: 
Tue, 27 Mar 2007 10:54:28 GMT
Viewed: 
240 times
  
guys,

flicking through the specs I got a bit confused and seek clarification
(preferably from the LSC)

we have the list of Official META Commands:
http://www.ldraw.org/Article401.html

the list of currently known META Commands:
http://www.ldraw.org/Article342.html

the LDraw File Format 1.0.0 proposal (oddly there is no link to Article401):
http://www.ldraw.org/Article218.html

and this post in the LSC archive introducing the ! as prefix
http://five.pairlist.net/pipermail/lsc/2003-December/000063.html

summarizing the info we get:

*************Article218*************

META Commands

A META command is a statement used to tell an LDraw compatible program to do
something. There are currently many official META commands and almost as many
unofficial META commands. In a META command, a keyword follows the line type in
the line. The keyword must be in all caps. The generic META line format is:

0 !<META command> <additional parameters>

Where:

    * <META command> is any string in all caps
    * <additional parameters> is any string. Note that if a META command does
not require any additional parameter, none should be given.

*************Article218*************

Adding New META Commands

Here are some guidelines LDraw.org compatible program developers should consider
when add new META command functionality to their programs:

    * All the new META commands should be based on a program name where this
META command is defined/used first. For example: if your program is called
LDParser and you want to add a META command called EXAMPLE then your command
should appear in DAT code as 0 LDPARSER EXAMPLE.
    * Avoid defining META commands which are similar in name but not equal in
function to already existing META command. Doing this will avoid user confusion
and possible erroneous output.

*************Article401*************

The following is a list of META commands that have been formally adopted into
the LDraw.org File Format and links to the applicable specifications. Note that
all new official META commands will have a "!" as the prefix character

************************************


my question is:

have/shall old/new meta commands get the "!" as the prefix character when a
program gets updated?

has for example LPUB PAGE SIZE to be changed to !LPUB PAGE SIZE or ROTATION
CENTER <x> <y> <z> "<name>" to !MLCAD ROTATION CENTER <x> <y> <z> "<name>" when
a new version is released. what is the difference between official and
unofficial? will an unofficial meta become official when it follows the
guidelines?

w.



Message has 1 Reply:
  Re: Prefix character on meta commands?
 
(...) I am no longer on the LSC, but I'll give my opinion. Given that the LPUB, SYNTH and MLCad's ROTATION meta's were defined before there was ever an LSC, before the LDraw file format 1.0.0.0 was officially ratified, or before the discussion in (...) (18 years ago, 28-Mar-07, to lugnet.cad.dev.org.ldraw)

4 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