End with a... ?


End with a... ?
#1
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" ?
Reply
Re: End with a... ?
#2
Yes Smile
Reply
Re: End with a... ?
#3
Should that be a "0" (zero)?

Tim
Reply
Re: End with a... ?
#4
NO!
Reply
Re: End with a... ?
#5
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.
Reply
Re: End with a... ?
#6
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.
Reply
Re: End with a... ?
#7
http://forums.ldraw.org/showthread.php?t...01#pid4401

w.
LEGO ergo sum
Reply
Re: End with a... ?
#8
Yes, that is exactly what we discussed that time.
Reply
Re: End with a... ?
#9
Thanks - that makes it really clear Smile
Reply
Re: End with a... ?
#10
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.
LEGO ergo sum
Reply
Re: End with a... ?
#11
thank you for the correction.
Reply
« Next Oldest | Next Newest »



Forum Jump:


Users browsing this thread: 2 Guest(s)