LDraw.org Discussion Forums

Full Version: Inline Comments in LDRAW
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Quick question, doesn't matter so much if it isn't possible I guess but,

Is it possible to add a comment on the same line as a file reference in LDRAW but always after the file name?

I tried:

Code:
1 0 0 0 0 1 0 0 0 1 0 0 0 1 3024.dat //P1

But I think it thought the file was called '3024.dat //P1'

I have never seen a common windows file extension that contained a space Tongue but computers will be computers I guess

I'm probably going to assume that there is no way to do it therefore, but maybe I'm wrong.

Regards, SNIPE
Nope. 
From the spec:
"An LDraw file consists of one command per line."

Comments are "0" commands.
(2023-03-27, 1:02)SNIPE Wrote: [ -> ]But I think it thought the file was called '3024.dat //P1'

I have never seen a common windows file extension that contained a space Tongue but computers will be computers I guess
On Windows, you can name a file 
blahblah.blehbleh blah.yyy.dat 
Go parse that if there's no quote marks...