summaryrefslogtreecommitdiff
path: root/matheunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-20 15:59:28 +0100
committerErich Eckner <git@eckner.net>2017-12-20 15:59:28 +0100
commitaeac304b61b00cf576e1d5caf164a7526df904df (patch)
tree472931cfcab589e55bb0f15a4e317b248bbf82a5 /matheunit.pas
parent279ad688c87699cf71feb0584831a21e78f8bf1e (diff)
downloadunits-aeac304b61b00cf576e1d5caf164a7526df904df.tar.xz
matheunit.pas: tKnownValues.clear neu
Diffstat (limited to 'matheunit.pas')
-rw-r--r--matheunit.pas6
1 files changed, 6 insertions, 0 deletions
diff --git a/matheunit.pas b/matheunit.pas
index d57fb03..9f615bb 100644
--- a/matheunit.pas
+++ b/matheunit.pas
@@ -33,6 +33,7 @@ type
procedure neuerChef(chef: tKnownValues; ignoriereWennBereitsVorhanden: boolean = false);
procedure entferneKnecht(knecht: tKnownValues);
procedure entferneChef(chef: tKnownValues);
+ procedure clear;
end;
function plus(a,b: tExtPoint): tExtPoint;
@@ -263,6 +264,11 @@ begin
fehler('tKnownValues soll einen Chef entfernen, den es nicht hat!');
end;
+procedure tKnownValues.clear;
+begin
+ setLength(kvs,0);
+end;
+
// allgemeine Funktionen *******************************************************
function plus(a,b: tExtPoint): tExtPoint;