home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 February
/
Chip_2000-02_cd.bin
/
zkuste
/
Delphi
/
navody
/
tt
/
objvm.exe
/
UNITS
/
ValueSubSet.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1998-02-19
|
801b
|
33 lines
unit ValueSubSet;
interface
uses uValues,
Value;
type TValueSubSet=class(TValues)
protected
fValues:TValues;
fStart,fCount:Integer;
function rdValues(No:integer):TValue;override;
function rdCount:integer;override;
public
constructor Create(aValues:TValues;aStart,aCount:Integer);
end;
implementation
function TValueSubSet.rdValues;
begin
Result:=fValues[No+fStart];
end;
constructor TValueSubSet.Create;
begin
Inherited Create;
fValues:=aValues;
fStart:=aStart;
fCount:=aCount;
end;
function TValueSubSet.rdCount;
begin
Result:=fCount
end;
end.