Skip to content

Accept single index for MDim arrays reported as multidimensional - #22

Merged
jogibear9988 merged 1 commit into
dotnetprojects:masterfrom
Stiwa-PohG:fix/mdim-single-index
Nov 16, 2026
Merged

jogibear9988 merged 1 commit into
dotnetprojects:masterfrom
Stiwa-PohG:fix/mdim-single-index

Conversation

@Stiwa-PohG

Copy link
Copy Markdown

FbArray/StructMDim report IsMDim() even when only one dimension is declared, so a single index (for example "[1]" for Array[1..3] of FB) must be accepted here. The dimension count check below rejects a mismatching number of indices.

@jogibear9988
jogibear9988 merged commit cbc8114 into dotnetprojects:master Nov 16, 2026
3 checks passed
@jogibear9988

Copy link
Copy Markdown
Member

thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants