summaryrefslogtreecommitdiff
path: root/lowlevelunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-12-17 09:53:47 +0100
committerErich Eckner <git@eckner.net>2018-12-17 09:54:14 +0100
commit1488457846432bdd59bad7a528958d4876a896af (patch)
tree6cb16b114351dd5436215699dc2172f7040c181d /lowlevelunit.pas
parent0ec6d646af9c6223c8a51b0931466bd4fe83a303 (diff)
downloadunits-1488457846432bdd59bad7a528958d4876a896af.tar.xz
lowlevelunit.pas: tKodierungToStr() neu
Diffstat (limited to 'lowlevelunit.pas')
-rw-r--r--lowlevelunit.pas13
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;