Keep the INZ of a standalone numeric array and write a long declaration on several lines #757

Manually merged
binjovi-bot merged 5 commits from lr1f into trunk 2026-11-08 10:54:23 +00:00
Owner

Keep the INZ of a standalone numeric array, and write a long declaration on several lines

  • A standalone packed, zoned or integer array whose elements all start at one value (a packed(5:0) dim(200) inz(1), probes lr1-ab-stand-*) is declared with that INZ; the compiler stores a long value in chunks of 400 bytes, which are one value since the data structure change. The statements that index it are no longer refused for "the initial value of the numeric array has no rule".
  • Probes lr1-ab-stand-*, lr1-ab-ds-z50-200, lr1-ld-*.
  • A subfield line over 100 bytes of a data structure moves its inz(...) to the next line, and a quoted or hexadecimal literal continues with +, up to three lines. A longer value (the whole initial value of an array) is refused as "longer than 100 bytes", never written as a character field.
  • A blank gap of a data structure with array subfields whose width is no literal of the source but the sum of two that are is two character subfields. A gap with a value stays one field.
  • A statement that indexes a name declared without DIM (A(i) on a character field) is refused (the compile answered RNF0528).
  • Probes lr1-af-* (an array first in a structure): no statement indexes a name that is declared without DIM; the structure whose array the emitter cannot place is refused whole.
# Keep the INZ of a standalone numeric array, and write a long declaration on several lines - A standalone packed, zoned or integer array whose elements all start at one value (`a packed(5:0) dim(200) inz(1)`, probes `lr1-ab-stand-*`) is declared with that INZ; the compiler stores a long value in chunks of 400 bytes, which are one value since the data structure change. The statements that index it are no longer refused for "the initial value of the numeric array has no rule". - Probes `lr1-ab-stand-*`, `lr1-ab-ds-z50-200`, `lr1-ld-*`. - A subfield line over 100 bytes of a data structure moves its `inz(...)` to the next line, and a quoted or hexadecimal literal continues with `+`, up to three lines. A longer value (the whole initial value of an array) is refused as "longer than 100 bytes", never written as a character field. - A blank gap of a data structure with array subfields whose width is no literal of the source but the sum of two that are is two character subfields. A gap with a value stays one field. - A statement that indexes a name declared without DIM (`A(i)` on a character field) is refused (the compile answered RNF0528). - Probes `lr1-af-*` (an array first in a structure): no statement indexes a name that is declared without DIM; the structure whose array the emitter cannot place is refused whole.
binjovi-bot manually merged commit 0c4fca77bd into trunk 2026-11-08 10:54:23 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
sean/sourcerer!757
No description provided.