Source code formating with comments

From: Richard Marchand (richardm_at_nowhere.com)
Date: 03/28/05


Date: Mon, 28 Mar 2005 16:44:42 -0500

I am looking for a program to format my delphi 7 source code. I already use
a freeware program for this but I would like this formatter not only to
change the horizontal spacing but also add comments to delimit the limits of
loops. For example:

    For I := 1 to 1000 do begin
     [...]
     for J := 1 to 1000 do begin
     [...]
    end;
    end;

would be transformed into something like:

    For I := 1 to 1000 do begin
        [...]
        while x = y do begin
            [...]
        end; {while x = y}
    end; {for I := 1 to 1000}

Any suggestion?



Relevant Pages

  • Re: Source code formating with comments
    ... > I am looking for a program to format my delphi 7 source code. ... > a freeware program for this but I would like this formatter not only to ... I think what you are requesting is that the loop limit ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: Is there an "Audacity" for video?
    ... Unfortunately, it produces them all in QuickTime format, a proprietary format ... Is there a freeware program similar to the ... formats, cutting and pasting, things like that--although just changing formats ...
    (rec.photo.digital)
  • Re: Is there an "Audacity" for video?
    ... Unfortunately, it produces them all in QuickTime format, a proprietary format ... Is there a freeware program similar to the ... formats, cutting and pasting, things like that--although just changing formats ... Rotate clockwise: ...
    (rec.photo.digital)
  • Is there an "Audacity" for video?
    ... I notice that my little digital camera can produce short video clips. ... Unfortunately, it produces them all in QuickTime format, a proprietary format ... Is there a freeware program similar to the ... formats, cutting and pasting, things like that--although just changing formats ...
    (rec.photo.digital)
  • Re: reading photoshop layers
    ... Mike D Sutton wrote: ... > Delphi isn't too bad at all to work with, I use it on a regular basis at work and find it to be somewhere in the middle ... > the docs or in the source code itself that suggested it could decode individual layers, ... but even then a few hours with a hex editor and some version of the format spec. ...
    (microsoft.public.vb.winapi.graphics)