FR: Compile “length(dynamic or open array) − 1” as “high(dynamic or open array)”.

See this topic and corresponding recent change that could be done automatically.

My personal addendum:

  • compile x < length(arr) as x <= high(arr);
  • compile x >= length(arr) as x > high(arr).
Edited May 27, 2023 by Rika
Assignee Loading
Time tracking Loading