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

# Class TIFPSConstant

## Unit

ifpscomp

## Declaration

`type TIFPSConstant = class(TObject)`

## Description

TIFPSContant contains information about constants

## Fields

| Name | Description
--- | --- | ---
| `FName` |
| `FNameHash` |
| `FValue` |

## Methods

### Overview

| `destructor Destroy; override;`
| `procedure SetChar(c: Char);`
| `procedure SetExtended(const Val: Extended);`
| `procedure SetInt(const Val: Longint);`
| `procedure SetInt64(const Val: Int64);`
| `procedure SetString(const Val: string);`
| `procedure SetUInt(const Val: Cardinal);`
| `procedure SetWideChar(const val: WideChar);`
| `procedure SetWideString(const val: WideString);`

### Description

| `destructor Destroy; override;`

| `procedure SetChar(c: Char);`

Change the value of this constant to the val char

| `procedure SetExtended(const Val: Extended);`

Change the value of this constant to the val extended

| `procedure SetInt(const Val: Longint);`

Change the value of this constant to the val integer

| `procedure SetInt64(const Val: Int64);`

Change the value of this constant to the val int64

| `procedure SetString(const Val: string);`

Change the value of this constant to the val string

| `procedure SetUInt(const Val: Cardinal);`

Change the value of this constant to the val Cardinal

| `procedure SetWideChar(const val: WideChar);`

Change the value of this constant to the val WideChar

| `procedure SetWideString(const val: WideString);`

Change the value of this constant to the val WideString

## Properties

### Overview

| `property Name: string;`
| `property NameHash: Longint;`
| `property Value: PIfRVariant;`

### Description

| `property Name: string;`

The name (of the constant

| `property NameHash: Longint;`

The hash of the name of this constant

| `property Value: PIfRVariant;`

The value for this constant