LDraw.org Discussion Forums
End with a... ? - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: End with a... ? (/thread-14010.html)

Pages: 1 2


End with a... ? - Stephen - 2014-09-26

Quote from: http://www.ldraw.org/article/218.html

Quote:Line Termination

All lines in the file must use the standard DOS/Windows line termination of(carriage return/line feed). The file is permitted (but not required) to end with a. It is recommended that all LDraw-compliant programs also be capable of reading files with the standard Unix line termination of(line feed).

End with a what? I'm assuming what's missing is "carriage return/line feed" ?


Re: End with a... ? - Michael Heidemann - 2014-09-26

Yes Smile


Re: End with a... ? - Tim Gould - 2014-09-26

Should that be a "0" (zero)?

Tim


Re: End with a... ? - Michael Heidemann - 2014-09-26

NO!


Re: End with a... ? - Travis Cobbs - 2014-09-26

0 is certainly valid as the last byte of an LDraw file (right after an <LF>). I suspect that this is supposed to say that the last line may or may not have a <CR><LF> at the end, but I can't remember.


Re: End with a... ? - Steffen - 2014-09-27

The sentence
Quote:The file is permitted (but not required) to end with a.
should read instead
Quote:Terminating the last line of a file with it is optional.



Re: End with a... ? - Willy Tschager - 2014-09-27

http://forums.ldraw.org/showthread.php?tid=4401&pid=4401#pid4401

w.


Re: End with a... ? - Michael Heidemann - 2014-09-27

Yes, that is exactly what we discussed that time.


Re: End with a... ? - Michael Heidemann - 2014-09-27

Thanks - that makes it really clear Smile


Re: End with a... ? - Willy Tschager - 2014-10-11

I finally found the time to correct this. Thanks for pointing out. Let me know if there are more hiccups caused by the transition from PN.

w.