You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MODULE Ex;
TYPE
R0 = EXTENSIBLE RECORD
x:REAL;
END;
R1 = EXTENSIBLE RECORD (R0)
y:REAL;
END;
R2 = R1;
R3 = EXTENSIBLE RECORD (R2)
z:REAL;
END;
PROCEDURE Example (VAR r:R0);
BEGIN
WITH r:R1 DO
r.y:=0
| r:R2 DO
r.y:=0
| r:R3 DO
r.z:=0
ELSE
r.x:=0
END;
END Example;
END Ex.
This code translates normally, but gives the error "non-existing type R2" when compiling.
The text was updated successfully, but these errors were encountered:
GameHunter reports:
This code translates normally, but gives the error "non-existing type R2" when compiling.
The text was updated successfully, but these errors were encountered: