Code: Select all
program testv83;
var bb: byte;
ch: char;
myPtr,myPtr1: ^byte;
const aa1: array [1..2] of char = ('0','1');
aa2: array [2] of char = ('0','1');
BEGIN
ch:=aa1[bb];
ch:=aa2[bb];
myPtr1:=myPtr;
END.
The pointer variables, myPtr & myPtr1, were placed in code to point to another quirk - compiler issues nonsensical warning, 'implicit typecast of integral value to pointer', for the assignment myPtr1:=myPtr.
Hopefully somebody still works on v 8.3 and noticed my other post about the Hi(real) bug.