[fpc-pascal] Open vs dynamic arrays

cobines cobines at gmail.com
Sun Apr 22 11:14:06 CEST 2012


ClrDebug(panels[i]) calls itself again and not

procedure ClrDebug(panel: integer)...

So stack overflow happens.

If you need it only for integers then declare it as:

procedure ClrDebug(const panels: array of integer)

--
cobines



More information about the fpc-pascal mailing list