uml - Program exit, functioncall in conditional in sequence diagrams -


the following code belongs object of class called "console".

    if ( problem.success() ) {                 display("congratulations.  solved problem using " +                         movecount + " moves.\n");                 system.exit(0);     }     display(options); 

how show function call problem.success() in conditional statement? should assign result temporary variable , test on variable?

also how show program exits if conditional true otherwise continues? should make note?


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -