t_bad_array.LST 318 B

123456789101112131415
  1. Listing:
  2. 1 MODULE TBadArr;
  3. 2 VAR a : ARRAY [1 .. 10] OF INTEGER; x : INTEGER;
  4. ***** ^ not supported in this phase
  5. 3 BEGIN
  6. 4 x := 1;
  7. 5 a[x] := 5
  8. ***** ^ not supported in this phase
  9. ***** ^ not supported in this phase
  10. 6 END TBadArr.
  11. 3 errors