I was playing with his set in V3.0.2:
const
s = [47, '0'];
I noticed that TP7 doesn't accept this: all members have to be of the same type. NP for me, I can live with that
The next one:
s = ['0', 49];
was NOT accepted, with the error that a char was expected. The documentation at
https://www.freepascal.org/docs-html/current/ref/refsu16.html#x40-580003.3.3 doesn't mention anything about the possibility of mixing ordinal types.
If it is not possible, the first example should have raised an error, if it is possible, the second one should have been accepted. Unless I have missed something.
Can anybody shed some light on this, please? Many thanks!
FYI, I'm not complaining, just pure curiosity.