Op 2019-05-31 om 18:36 schreef Alexander Grotewohl:
can't you just use an untyped parameter in a clearmem procedure you make yourself?

procedure ClearMem(var m);

You don't get size that way, and you have to pass it separately (see e.g. blockread/write).

It was one of the setbacks when I came back to TP/FPC from Modula2, the latter which does have an open array type with size attached to it.

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to