back to the download-page

Freeware: Full version of Formpli, PL/I-reformatter for Windows.

 

(Improvement compared to the trial version that was offered before: It reformats an unlimited number of lines of code.)       

 

Easy to use:

Formpli is ready for your test. Input is the sample source code 'input.pli': Just double-click the MS-Dos application named Go. That's it, as easy as it can be. No 'setup' necessary. The Output you find in output.pli. To point out the difference between input and output, I created the input as jumbled as it’s normally not found. Normal input, ‘normal jumbled’ code you find - ready for an additional test - in input2.pli.

 

Your own input:

For to run your own input just replace 'input.pli' in the go.bat by the path to your file. Make sure your source code is syntax error free and you have a backup-copy of it.

 

Additional Hints:

1.    For best appearance of the input/output source code use a monospace font like Courier with your editor.

 

2.    Replace the old source code only after you tested the program using the 'new' code and get the same results as by the old program.

 

  1. Formpli reformats only pure PL/I source code into good shape. The shape of non-PL/I statements like "Select SQL ...." may be rearranged eventually by hand.

 

  1. The program assumes 80 Cols. like used on mainframes:

 

Col. 1 ASA characters

Cols. 2 to 72 code and comments

Cols. 73 to 80 sequence numbers or blank

 

  1. If there is code followed by comment in the same line and indent-shifting would move code into the area of the comment, then the reformatter moves the comment to the same Cols. in a new line.

 

Background:

This program I developed and improved in big mainframe environments for many years, accompanying my maintenance duties. I created it on my own initiative, and in my spare time. It was used, to comfort the analysis of "different style mixtures" in the code, left by numerous programmers, that had to implement changes, and did it with their individual styles.

 

Formpli maybe useful when someone is not familiar with the code but got to maintain it. If he knows the logic of the code - no matter how ugly it is - and he does not have an aesthetic approach to it, then he may not touch the code at all.

I hope this product finds the interest of PL/I programmers who like to document the structure and tidiness of their programs by an "aesthetic code picture".

 

Greetings from Germany

Peter Ostermann

 

Oldenburg, Germany, September 25, 2003
e-mail:


back to the download-page