[fpc-pascal]Problem with CASE statement

Peter Vreman peter at freepascal.org
Wed Mar 24 10:14:46 CET 2004


> Thanks.
>
> Yes, you're right but i'm using this constants for backward compatibility
> with Borland Pascal.
>
> The problem is in declarations of constant:
>
> const xxx = $4400;
>          yyy = $11;
>
> SizeOf(xxx) = 2 in FPC 1.0.10
>                      4 in FPC 1.9.x
> SizeOf(yyy) = 1 in FPC 1.0.10
>                      4 in FPC 1.9.x
>
> Constants xxx and yyy are ordinal types, but i don't know which count of
> bytes they got.

Fixed







More information about the fpc-pascal mailing list