Units | Class Hierarchy | Classes, Interfaces and Objects | Types | Variables | Constants | Functions and Procedures | Identifiers

# Class TIfList

## Unit

ifps3utl

## Declaration

`type TIfList = class(TObject)`

## Description

TIfList is the list class used in IFPS3

## Methods

### Overview

| `constructor Create;`
| `destructor Destroy; override;`
| `function Add(P: Pointer): Longint;`
| `procedure AddBlock(List: PPointerList; Count: Longint);`
| `procedure Clear; virtual;`
| `procedure Delete(Nr: Cardinal);`
| `procedure Recreate;`
| `procedure Remove(P: Pointer);`

### Description

| `constructor Create;`

create

| `destructor Destroy; override;`

destroy

| `function Add(P: Pointer): Longint;`

Add an item

| `procedure AddBlock(List: PPointerList; Count: Longint);`

Add a block of items

| `procedure Clear; virtual;`

Clear the list

| `procedure Delete(Nr: Cardinal);`

Remove an item

| `procedure Recreate;`

Recreate the list

| `procedure Remove(P: Pointer);`

Remove an item

## Properties

### Overview

| `property Count: Cardinal;`
| `property Items[nr: Cardinal]: Pointer;`

### Description

| `property Count: Cardinal;`

Contains the number of items in the list

| `property Items[nr: Cardinal]: Pointer;`