Hello, Was trying to declare a procedure with an array argument, e.g. procedure p(a: array[1..9] of int64), and the compiler complained as it seems only accepts open arrays. If I set a type alias for the array, e.g. type t = array[1..9] of int64, then I can declare the procedure p(a: t). This behavior seems odd, why couldn’t I declare the procedure with a bounded array without having to declare a type alias first?
Thank you and apologies if this has been asked before. I just joined the mailing list. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal