diff options
author | Erich Eckner <git@eckner.net> | 2017-12-20 15:59:28 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-12-20 15:59:28 +0100 |
commit | aeac304b61b00cf576e1d5caf164a7526df904df (patch) | |
tree | 472931cfcab589e55bb0f15a4e317b248bbf82a5 | |
parent | 279ad688c87699cf71feb0584831a21e78f8bf1e (diff) | |
download | units-aeac304b61b00cf576e1d5caf164a7526df904df.tar.xz |
matheunit.pas: tKnownValues.clear neu
-rw-r--r-- | matheunit.pas | 6 |
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; |