View Issue Details

IDProjectCategoryView StatusLast Update
0038395FPCDocumentationpublic2021-01-25 13:25
ReporterKai Burghardt Assigned ToMichael Van Canneyt  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSGNU/Linux 
Product Version3.2.0 
Fixed in Version3.3.1 
Summary0038395: reference guide lists “char” as a “predefined _integer_ type”
DescriptionIn 3.1.1. of the RG `char` is listed as as a predefined *integer* type without further explanation.
Additional InformationI mean, of course you can write `myChar := 0000042;`, but as far as I understand the hash instructs the compiler to interpret the integer to come differently. More importantly, I can’t write something like `0000004 * 0000006`, I can’t _calculate_ with `char` values. Hence I think it’s utterly wrong to call a `char` an integer type. If it is anyway, this needs explanation.
TagsNo tags attached.
Fixed in Revision1795
FPCOldBugId
FPCTarget3.2.2
Attached Files

Activities

Kai Burghardt

2021-01-24 15:30

reporter  

ref.tex.patch (249 bytes)   
--- ref.tex~	2021-01-24 14:30:03.490869625 +0000
+++ ref.tex	2021-01-24 14:21:32.560693065 +0000
@@ -954,8 +954,7 @@
 ByteBool \\
 WordBool \\
 LongBool \\
-QWordBool \\
-Char \\ \hline
+QWordBool \\ \hline
 \end{tabular}
 \end{center}
 \end{table}
ref.tex.patch (249 bytes)   

Kai Burghardt

2021-01-24 15:31

reporter   ~0128558

Haha. Great, the hashes followed by integers were converted to ticket references. I think you know what I meant.

Michael Van Canneyt

2021-01-24 18:56

administrator   ~0128567

Thanks. I also removed boolean, as it's not an integer.
I added a small subsection about characters in the ordinals section.

Thaddy de Koning

2021-01-25 13:25

reporter   ~0128584

It may also need some explanation that a C char is not a Pascal char type.

Issue History

Date Modified Username Field Change
2021-01-24 15:30 Kai Burghardt New Issue
2021-01-24 15:30 Kai Burghardt Status new => assigned
2021-01-24 15:30 Kai Burghardt Assigned To => Michael Van Canneyt
2021-01-24 15:30 Kai Burghardt File Added: ref.tex.patch
2021-01-24 15:31 Kai Burghardt Note Added: 0128558
2021-01-24 18:56 Michael Van Canneyt Status assigned => resolved
2021-01-24 18:56 Michael Van Canneyt Resolution open => fixed
2021-01-24 18:56 Michael Van Canneyt Fixed in Version => 3.3.1
2021-01-24 18:56 Michael Van Canneyt Fixed in Revision => 1795
2021-01-24 18:56 Michael Van Canneyt FPCTarget => 3.2.2
2021-01-24 18:56 Michael Van Canneyt Note Added: 0128567
2021-01-25 13:25 Thaddy de Koning Note Added: 0128584