begin
  integer i,k
  
  ! works OK for 0:1 but not 0:2 or higher
  ownintegerarray a(0:2)=0,1,2

  ! fails on this:
  i = a(k)

endofprogram