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

php - Submit Form Data without Reloading page -

linux - Rails running on virtual machine in Windows -

php - $params->set Array between square bracket -