Author Topic: NassiSchneidermann  (Read 5329 times)

Offline LordCB

  • Multiple posting newcomer
  • *
  • Posts: 79
NassiSchneidermann
« on: July 31, 2012, 03:01:43 pm »
Hello friends,

is it true that the plugin have trouble with try catch blocks. I cannot generate diags with try catch included.

Yours,

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: NassiSchneidermann
« Reply #1 on: July 31, 2012, 04:04:09 pm »
I cannot generate diags with try catch included.
...because?
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: NassiSchneidermann
« Reply #2 on: July 31, 2012, 04:20:30 pm »
Maybe I see your issue: Are you looking for a "Try/Catch" block?

If so, you probably don't know that Nassi-Shneiderman is a standard with limited symbols (see here: http://en.wikipedia.org/wiki/Structogram). So unless you want to break the standard or invent a new one (which both makes no sense) there is no "Try/Catch" block. But it is also not needed, as with NS-diagrams you would model the "Try" part only; or "simulate" the "Try" and "Catch" flow with an "If-Then-Else" statement.

Edit: BTW: Here is the original reference: http://www.cs.umd.edu/hcil/members/bshneiderman/nsd/1973.pdf
« Last Edit: July 31, 2012, 04:24:08 pm by MortenMacFly »
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ