<
从版本< 18.1 >
xu yang编辑
在2021/11/30 14:03上
到版本
xu yang编辑
在2021/11/30 14:11上
>
修改评论 该版本没有评论

Summary

Details

Page properties
Content
... ... @@ -212,18 +212,31 @@
212 212  
213 213  {{plantuml}}
214 214  @startuml
215 +title Test
215 215  |A|
216 216  start
217 217  :actor = new Actor();
218 218  :actor.init();
219 -if(actor.process())then(true)
220 +if(actor.process())then(false)
221 +:actor.killSelf();
222 +else(true)
220 220  |B|
221 221  :actor.postProcess();
225 +note right
226 +This note is on several
227 + //lines// and can
228 + contain <b>HTML</b>
229 +end note
222 222  |A|
223 -else(false)
224 -:actor.killSelf();
225 225  endif
232 +while(actor.canFinish()) is (false)
226 226  :actor.finish();
234 +endwhile(true)
235 +fork
236 + :actor.stop();
237 +fork again
238 + :env.stop();
239 +endfork
227 227  
228 228  end
229 229