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 / 8525
8524  |  8526
Subject: 
Re: Calling all Meta-commands
Newsgroups: 
lugnet.cad.dev
Date: 
Sat, 22 Mar 2003 00:26:34 GMT
Viewed: 
1555 times
  
In lugnet.cad.dev, Ross Crawford wrote:

Why not force comments to be a meta-command like MLcad does with WRITE? Then
the only problem you have is new files created with Ledit, and old files
which will need to be converted. And Ldraw would still handle them OK.

Rosco,

Unfortunately, MLCAD's use of WRITE is a really bad example, because MLCAD
is mis-using an already standard meta-command.  Plus, 0 WRITE statements
are not allowed in official parts, so any part authors who create their
files in MLCAD (poor devils) have to go through and remove any WRITEs
afterwards.

This is all because to LDraw, 0 WRITE is an action statement -- it displays
the text at the top of the screen.

I'm not against a tag for comments, I just haven't seen one I like.  They
are either too long (0 COMMENT) or too techy (0 //).

Maybe something as simple as a hyphen?
   0 - This is a comment
   0 This is the meta-command 'THIS'.

Steve



Message has 1 Reply:
  Re: Calling all Meta-commands
 
(...) Has a hyphen been used anywhere for a similar purpose? I'm not aware of it. I'm one of the least-techy of the bunch, though I can hack some code, and I think it's better to stick to what most know, as long as it's not cumbersome like {}. I (...) (22 years ago, 22-Mar-03, to lugnet.cad.dev)

Message is in Reply To:
  Re: Calling all Meta-commands
 
(...) Why not force comments to be a meta-command like MLcad does with WRITE? Then the only problem you have is new files created with Ledit, and old files which will need to be converted. And Ldraw would still handle them OK. ROSCO (22 years ago, 15-Mar-03, to lugnet.cad.dev)

154 Messages in This Thread:
(Inline display suppressed due to large size. Click Dots below to view.)
Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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