Skip to content

Optimization of WHILE loop working with segmented transfer data #5

@msftrncs

Description

@msftrncs

WHILE i < 7 DO
CANSDO_DATA[i + 1] := 0; (* clearing unused portion per specification *)
i := i + 1;
END_WHILE

The expression i := i + 1 can be moved before the indexed array operation to reduce the expression of the index to just i.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions