[fpc-pascal] Printing of FPC program listing

Marco van de Voort marcov at stack.nl
Wed Feb 17 10:32:32 CET 2010


In our previous episode, James Gibbens said:


> Thank you for the answers and advice I have received. Three new issues if
> you good people don't mind.

Operating system?

> 1. I want to print my program listing by using the print option in the
> File drop-down menu (Free Pascal IDE window).  I click on the Print option
> but nothing happens - the printer is on and it does print.  How can I fix
> that?

> 2. The window of the Free Pascal IDE is only 21 lines high. Is it possible to show more lines on the computer screen? How can I do that?

Enlarge the window before starting. OS? If *nix, try to use a XTerm console,
and see if that improves.

> 3. Is it possible to get FPC to use a comma (,) in stead of a period (.)
> as the separator between integer and fraction?  The way they do it in
> Europe?

There are some possibilities. In general TP functions don't, and Delphi
functions do honour the locale. Delphi (sysutils) routines often have a 
TFormatSettings parameters where you can pass custom locale settings.

Or try setting "decimalseparator" to ','




More information about the fpc-pascal mailing list