On 28 Nov 2017 9:04 PM, "Роман via fpc-pascal" <
fpc-pascal@lists.freepascal.org> wrote:
> Can I run SortAndInitialize before 'main' without additional user actions?

Maybe not exactly what you want but you could probably add the
SortAndInitialize procedure to the initialization section of a new unit and
add this unit as the last unit to your program.

This use case is probably a good candidate for using the "section" modifier
to specify initialization sequence. Unfortunately not available in the
compiler for code sections AFAIK.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to