sam.littlewood@quantel.com wrote:
Has anyone a fix for this rather curious bug? - it seems subranges, packed records and VAR arguments conspire to make the compiler throw a bogus error!?
I don't have a fix (apart from the obvious workarounds such are using the base type instead of the subtype or a non-packed record, if these are options), but I added it to the list of known bugs (sam8.pas).
-- Frank Heckenbach, frank@fjf.gnu.de http://fjf.gnu.de/ PGP and GPG keys: http://fjf.gnu.de/plan