[fpc-pascal] Access Violation When SetLength(DynArray, Value)

Anthony Walter sysrpl at gmail.com
Thu Sep 8 16:53:28 CEST 2022


> curious minds want to know: what was the fix?

In a separate part of the pool table initialization, I was precalculating
the midpoints and normals for bumper rails. I had carelessly written this
code:

  for I := 0 to Length(Rails) do
    RailInit(Rails[I], I);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20220908/b997a22f/attachment.htm>


More information about the fpc-pascal mailing list