Re: [fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Frederic Da Vitoria
2013/9/6 Mark Morgan Lloyd > I'm sure there isn't a single "right" answer to this question, but if > transferring Pascal source to a system that enforces short lines (e.g. 78 > chars + CRLF) what's the best automatic breaking rule? > > One possibility is obviously to break after the rightmost spa

Re: [fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Mark Morgan Lloyd
Howard Page-Clark wrote: On 06/09/2013 14:10, Mark Morgan Lloyd wrote: I'm sure there isn't a single "right" answer to this question, but if transferring Pascal source to a system that enforces short lines (e.g. 78 chars + CRLF) what's the best automatic breaking rule? One possibility is obviou

Re: [fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Mark Morgan Lloyd
Bernd Oppolzer wrote: Am 06.09.2013 18:16, schrieb Bernd Oppolzer: To keep the syntax correct, you can break after every symbol, that is: not inside identifiers, not inside numbers (including floating point constants) not inside quoted strings but anywhere else I am using a Pascal pretty prin

Re: [fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Howard Page-Clark
On 06/09/2013 14:10, Mark Morgan Lloyd wrote: I'm sure there isn't a single "right" answer to this question, but if transferring Pascal source to a system that enforces short lines (e.g. 78 chars + CRLF) what's the best automatic breaking rule? One possibility is obviously to break after the rig

Re: [fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Bernd Oppolzer
Am 06.09.2013 18:16, schrieb Bernd Oppolzer: To keep the syntax correct, you can break after every symbol, that is: not inside identifiers, not inside numbers (including floating point constants) not inside quoted strings but anywhere else I am using a Pascal pretty print program, that knows a

Re: [fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Bernd Oppolzer
Am 06.09.2013 15:10, schrieb Mark Morgan Lloyd: I'm sure there isn't a single "right" answer to this question, but if transferring Pascal source to a system that enforces short lines (e.g. 78 chars + CRLF) what's the best automatic breaking rule? One possibility is obviously to break after the

[fpc-pascal] Breaking Pascal source lines

2013-09-06 Thread Mark Morgan Lloyd
I'm sure there isn't a single "right" answer to this question, but if transferring Pascal source to a system that enforces short lines (e.g. 78 chars + CRLF) what's the best automatic breaking rule? One possibility is obviously to break after the rightmost space, but is it valid to break after