diff options
author | Erich Eckner <git@eckner.net> | 2018-12-17 09:53:47 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-12-17 09:54:14 +0100 |
commit | 1488457846432bdd59bad7a528958d4876a896af (patch) | |
tree | 6cb16b114351dd5436215699dc2172f7040c181d | |
parent | 0ec6d646af9c6223c8a51b0931466bd4fe83a303 (diff) | |
download | units-1488457846432bdd59bad7a528958d4876a896af.tar.xz |
lowlevelunit.pas: tKodierungToStr() neu
-rw-r--r-- | lowlevelunit.pas | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lowlevelunit.pas b/lowlevelunit.pas index 26f3e29..d26775e 100644 --- a/lowlevelunit.pas +++ b/lowlevelunit.pas @@ -103,6 +103,7 @@ function myIntToStr(i,dg: longint): string; overload; function myIntToStr(i,dg: longint; fill: string): string; overload; function max(g1,g2: tGenauigkeit): tGenauigkeit; inline; overload; function wertGroesze(g: tGenauigkeit): longint; +function tKodierungToStr(k: tKodierung): string; function floatToStrTrunc(f: extended; dig: longint; laessig: boolean): string; function binOpPos(op: char; s: string): integer; @@ -640,6 +641,18 @@ begin end; end; +function tKodierungToStr(k: tKodierung): string; +begin + case k of + kUnbekannt: + result:='kUnbekannt'; + k32BitSignedInteger: + result:='k32BitSignedInteger'; + else + result:='NONE'; + end{of Case}; +end; + // allgemeine Funktionen ******************************************************* function floatToStrTrunc(f: extended; dig: longint; laessig: boolean): string; |