Compiler version: 10.2017
When reworking the compiler listing, there was a need for writing integer values with leading zeroes.
The standard procedure (CSP) WRI so far did nothing, when the width specified was negative; IBMs Pascal/VS compiler does a left-justified write of integer, when negative widths are specified, but IMO leading zeroes is more useful. So I changed WRI on both Windows (PCINT) and on the mainframe so that leading zeroes are written, when a negative width is specified.
In fact, there is a restriction on the mainframe: WRI only writes 12 digits at most; if the width is below -12, spaces are written instead of leading zeroes. With PCINT, the CSP WRI works as designed.
Example:
|