Coming from C and back to Pascal, I rewrote one of my complex programs (in Lazarus as it has an IDE) but managed to leave a few float variables and arrays in place by mistake. Rather than giving me an error when compiling, on Windows it turned these into Double - which was fine for my program.
Now I have moved my program to Linux (Zorin OS), this compiler treats float variables and arrays as Extended, which stops large chunks from compiling. It was easy to fix by changing the floats to doubles and recompiling.
However, the question is: Why didn't the compiler on either system flag my erroneous use of float as a syntax error? There is no such type and I can't find float anywhere in the documentation.
Lazarus 4.4 on both systems