[fpc-pascal] basic question on begin, end;
James Richters
james at productionautomation.net
Mon Sep 28 01:40:47 CEST 2020
>This is how a program looks after automated indentation:
>https://github.com/StanfordPascal/Pascal/blob/master/PASCAL1.pas
Automating the formatting is a great idea, your formatted code is exactly
the way I would do it. I especially like the comments for the Begins and
Ends so you can see what procedure or function they belong to without
scrolling. even though everything is properly indented, I'm sure those
comments come in handy.
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200927/d460ddcd/attachment-0001.htm>
More information about the fpc-pascal
mailing list