[fpc-pascal] A new fpc desirable feature

Giuliano Colla giuliano.colla at fastwebnet.it
Tue Jul 17 13:56:39 CEST 2018


As everybody is suggesting new fpc features, I feel it right to add my 
own proposal, to make the language more useful and user friendly.

I propose the support for the keyword "please".

The syntax is quite simple: "please:", followed by the explanation in 
plain English (or whatever locale is selected) of what you want the 
compiler to do, makes the compiler generate the appropriate code.

E.g. :

please: fetch from the database xxx the relevant data and put them neatly in a string grid;
please: if the user modifies the data in the string grid, update the database accordingly;

I hope that this simple request will not be rejected, even if it is in 
line with most of the requests I read in this list and which face strong 
resistance from core developers :-).

Giuliano


-- 
Do not do to others as you would have them do to you.They might have different tastes.




More information about the fpc-pascal mailing list