Inline Comments in LDRAW


Inline Comments in LDRAW
#1
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
Reply
RE: Inline Comments in LDRAW
#2
Nope. 
From the spec:
"An LDraw file consists of one command per line."

Comments are "0" commands.
Reply
RE: Inline Comments in LDRAW
#3
(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...
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)