Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2007-10

The SetLength procedure (which sets the size of dynamic arrays)

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Adrian Maier

Hello,

I have found out about the SetLength procedure in the "Free Pascal : Reference guide" ,
chapter 3.3.1 Arrays .

But I am unable to find the complete description of this function. What unit does
SetLength belong to ?

In the System unit i've found DynArraySetLength procedure, but there it's written
that " It should never be necessary to call this function directly, the standard SetLength function should be used instead. "

In this case, where is the "standard" SetLength function documented ?!

Searching with the site's "Search" and locally with grep though the fpc-html-docs
didn't give me meaningful results.

Thanks,
Adrian Maier