News for hackers. Stuff that matters.
Re:GNU Pascal Compiler by badsectoracula on Thursday April 27, 2023 @03:36PM (#35733437)
The types themselves count as assignable since the values can be compatible and unless the compiler can tell statically a value is out of range it wont complain at compile time (but will at runtime if range checking is enabled).

However using the ranges for arrays is not compatible, if you have a A: array [R1] of Double and a B: array [R2] of Double you can't assign one to the other.

There are no comments on this comment yet.