|
20 | 20 | /// to data |
21 | 21 | /// </summary> |
22 | 22 | unit DECFormat; |
| 23 | +{$INCLUDE DECOptions.inc} |
23 | 24 |
|
24 | 25 | interface |
25 | 26 |
|
26 | | -{$INCLUDE DECOptions.inc} |
27 | 27 |
|
28 | 28 | uses |
29 | 29 | {$IFDEF FPC} |
@@ -431,7 +431,7 @@ class function TFormat_HEX.CharTableBinary: TBytes; |
431 | 431 | // special and skipped chars |
432 | 432 | // '0123456789ABCDEFX$ abcdefhHx()[]{},;:-_/\*+"'''+CHR(9)+CHR(10)+CHR(13); |
433 | 433 |
|
434 | | - {$IF CompilerVersion >= 28.0} |
| 434 | + {$IFdef HAVE_ASSIGN_ARRAY} |
435 | 435 | result := [$30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $41, $42, $43, |
436 | 436 | $44, $45, $46, $58, $24, $20, $61, $62, $63, $64, $65, $66, $68, |
437 | 437 | $48, $78, $28, $29, $5B, $5D, $7B, $7D, $2C, $3B, $3A, $2D, $5F, |
@@ -597,7 +597,7 @@ class function TFormat_HEXL.CharTableBinary: TBytes; |
597 | 597 | // special and skipped chars |
598 | 598 | // '0123456789abcdefX$ ABCDEFhHx()[]{},;:-_/\*+"'''+CHR(9)+CHR(10)+CHR(13); |
599 | 599 |
|
600 | | - {$IF CompilerVersion >= 28.0} |
| 600 | + {$IFdef HAVE_ASSIGN_ARRAY} |
601 | 601 | result := [$30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $61, $62, $63, |
602 | 602 | $64, $65, $66, $68, $58, $24, $20, $41, $42, $43, $44, $45, $46, |
603 | 603 | $48, $78, $28, $29, $5B, $5D, $7B, $7D, $2C, $3B, $3A, $2D, $5F, |
@@ -1113,7 +1113,7 @@ class function TFormat_UU.CharTableBinary: TBytes; |
1113 | 1113 | // ' '+CHR(9)+CHR(10)+CHR(13); |
1114 | 1114 |
|
1115 | 1115 | SetLength(result, 68); |
1116 | | - {$IF CompilerVersion >= 28.0} |
| 1116 | + {$IFdef HAVE_ASSIGN_ARRAY} |
1117 | 1117 | result := [$60, $21, $22, $23, $24, $25, $26, $27, $28, $29, $2A, $2B, $2C, |
1118 | 1118 | $2D, $2E, $2F, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, |
1119 | 1119 | $3A, $3B, $3C, $3D, $3E, $3F, $40, $41, $42, $43, $44, $45, $46, |
@@ -1350,7 +1350,7 @@ class function TFormat_XX.CharTableBinary: TBytes; |
1350 | 1350 | // '+-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz' + |
1351 | 1351 | // ' "()[]'''+CHR(9)+CHR(10)+CHR(13); |
1352 | 1352 | SetLength(result, 74); |
1353 | | - {$IF CompilerVersion >= 28.0} |
| 1353 | + {$IFdef HAVE_ASSIGN_ARRAY} |
1354 | 1354 | result := [$2B, $2D, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $41, |
1355 | 1355 | $42, $43, $44, $45, $46, $47, $48, $49, $4A, $4B, $4C, $4D, $4E, |
1356 | 1356 | $4F, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $5A, $61, |
|
0 commit comments