Sign in Join
FPDoc Onlineexperiment

TCollection.AtPut procedure

Member of TCollectionIn unit Objects

Set collection item, overwriting an existing value.

Declaration

pascal
procedure AtPut(Index: Sw_Integer; Item: Pointer)

Description

AtPut sets the element at position Index in the collection to Item. Any previous value is overwritten.

For an example, see Pack.

Errors

If Index isn't valid then Error is called with CoIndexError.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.