Skip to content
PL1

Procedure call in decision not correctly rendered

When a procedure call is done within a decision node, the node is correctly saved to .pr file.

However, when reading back the .pr file, the decision node is fitted with the name of the procedure, without the call prefix. This makes the sdl file syntactically wrong.

This is what happens for example.

  • Before saving: image

  • After reading back the file: image

Notice that the error occurs only if the procedure has no parameters, as foo(par, ...) can occur in decision node, while foo cannot, as it requires call foo.