You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Structorizer generates wrong code for Alternatives with more than a TRUE branch:
The END is only to close the entire IF statement and must not be inserted if an ELSE (or ELSIF) follows the THEN branch. Hence, it is wrongy placed in the code.
On this occasion, OBERON export should be made smarter with respect to IF ELSE IF chains, e.g. for the following diagram, an ELSIF should have been used instead of the statement nesting (blue mark):
The text was updated successfully, but these errors were encountered:
Structorizer generates wrong code for Alternatives with more than a TRUE branch:
The
END
is only to close the entireIF
statement and must not be inserted if anELSE
(orELSIF
) follows the THEN branch. Hence, it is wrongy placed in the code.On this occasion, OBERON export should be made smarter with respect to IF ELSE IF chains, e.g. for the following diagram, an
ELSIF
should have been used instead of the statement nesting (blue mark):The text was updated successfully, but these errors were encountered: