diff options
author | Erich Eckner <git@eckner.net> | 2017-08-14 12:55:28 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-14 12:55:28 +0200 |
commit | 6f38bd62b54d49bdb708a5408f083e9e8b98bbae (patch) | |
tree | 0e41fb85d2385cf2bc42fed37db41bb9301ef9eb | |
parent | 16a750e04881ed67fe2e5ec9b14d889630ffd8a1 (diff) | |
download | epost-6f38bd62b54d49bdb708a5408f083e9e8b98bbae.tar.xz |
typenunit.pas: tExtraInfos kann jetzt von Original kopiert created werden
-rw-r--r-- | typenunit.pas | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/typenunit.pas b/typenunit.pas index 1140d02..4422fa6 100644 --- a/typenunit.pas +++ b/typenunit.pas @@ -250,7 +250,8 @@ type tSiz,xSteps,tSiz_,xSteps_: longint; istKomplex: boolean; knownValues: tKnownValues; - constructor create; + constructor create; overload; + constructor create(original: tExtraInfos); destructor destroy; override; function xStart: extended; function xStop: extended; @@ -1241,6 +1242,22 @@ begin knownValues:=tKnownValues.create; end; +constructor tExtraInfos.create(original: tExtraInfos); +begin + inherited create; + maxW:=original.maxW; + minW:=original.minW; + transformationen:=tIdentitaet.create(original.transformationen); + np:=original.np; + beta:=original.beta; + tSiz:=original.tSiz; + xSteps:=original.xSteps; + tSiz_:=original.tSiz_; + xSteps_:=original.xSteps_; + istKomplex:=original.istKomplex; + knownValues:=tKnownValues.create(original.knownValues); +end; + destructor tExtraInfos.destroy; begin knownValues.free; |