Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Application of rule 14.10 for Autogenerated code
#2
The code sample complies with 14.10 as the second if is nested within a compound statement. We would not recommend a final else in this context and would suggest that the code has been laid out in this manner by the autocode generator specifically to abide by Rule 14.10 and thus avoid the use of an empty else { ... } clause, the only reasonable alternative if a further final else clause were included.
<t></t>
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)