Menu

Tree [r18] /
 History

HTTPS access


File Date Author Commit
 test 2024-11-11 henkidefix [r18] various minor improvements
 units 2020-04-13 henkidefix [r2] initial Import
 Licence.txt 2020-04-14 henkidefix [r4] Bug fixed and add Licence
 Makefile 2024-11-11 henkidefix [r18] various minor improvements
 extrafpc.cfg 2020-04-12 henkidefix [r1] initial import
 listnstack.pas 2024-11-11 henkidefix [r18] various minor improvements
 readme.txt 2020-04-13 henkidefix [r3] typo corrections
 scanlib.pas 2024-11-11 henkidefix [r18] various minor improvements
 scanner.pas 2024-05-26 henkidefix [r16] minor reporting improvement
 token.pas 2020-12-07 henkidefix [r8] finally fixed the bug in unittesting a class
 utilities.pas 2024-11-11 henkidefix [r17] change som Tstringlist to Tstringarry to avoid ...
 versioninfo.txt 2024-11-11 henkidefix [r18] various minor improvements

Read Me

The Pascal language and Free Pascal compiler are not sensitive to white space 
BUT the author is:  had to much code where, after a long time debugging,  
find the indentation has gone wrong due to refactoring or copy some code from 
another project.  Yea we have jedi code formatter (great project !)  
But i need a report to tell me where about suspect indentation so i can 
improve the code. Need to link the program to my editor so i get throwback 
to the location where the error was found. 
My preferred editor: https://www.geany.org/ 

Most problems on indentation are in the code like if-then-else.

An extremely simple example:  

my code       
    if x > y then 
      aaa
    else
      bbb;
      ccc;

A formatter will change it to
    if x > y then
      aaa
    else
      bbb;
    ccc;

On a large file you won't notice the small change and spend a lot of time
debugging to find the error and finally create the code that should 
have been there in the first place:
    if x > y then
      aaa
    else
    begin
      bbb
      ccc
    end;
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.