Class TCustomVariable

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomVariable = class(TCustomValue)

Description

TCustomVariable is the abstract ancestor of TRealVariable, TIntegerVariable, TBooleanVariable and TStringVariable.

It validates the Name in Create.

Hierarchy

Overview

Fields

Private FDisplayName: string;

Methods

Private function GetDisplayName: string;
Private procedure SetDisplayName(const Value: string);
Public constructor Create(const VariableName: string; const DataType: TRbwDataType; const NameToDisplay: string);
Public function Decompile: string; override;
Public function DecompileDisplay: string; override;

Properties

Public property DisplayName: string read GetDisplayName write SetDisplayName;

Description

Fields

Private FDisplayName: string;
 

Methods

Private function GetDisplayName: string;
 
Private procedure SetDisplayName(const Value: string);
 
Public constructor Create(const VariableName: string; const DataType: TRbwDataType; const NameToDisplay: string);

Create calls inherited create and then validates VariableName. Variable Names must start with a letter or underscore. The rest of the name must consist of letters underscores and digits.

Public function Decompile: string; override;
 
Public function DecompileDisplay: string; override;
 

Properties

Public property DisplayName: string read GetDisplayName write SetDisplayName;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:41:59