plantuml / plantuml

Generate diagrams from textual description
https://plantuml.com
Other
9.81k stars 888 forks source link

Add necessity of ```endif``` statement in the documentation section 6.3 #1649

Open lgi1sgm opened 4 months ago

lgi1sgm commented 4 months ago

What is the URL of the documentation?

What can be improved?

Point out, that an endif statement is necessary in case the activity does not end with the if else block.

Additional context

I tried to implement something like this, and it took me quite a while until I had figured out, that my code did not work because of the missing endif statement:

@startuml "Missing endif"

start
:A;
split
:B;
split again
if (condition) is (True) then
:C;
else (False)
:D;
'endif /' This will only work, if you uncomment the "endif" '/
end split
end

@endum
The-Lum commented 3 months ago

Hello @lgi1sgm,

Thanks for your report; From last version (v1.2024.0), it is now done for English page:

Regards, Th.