[ncl-talk] Typo/Error on Page for if-then-else Statement

Lunde, Bruce N CIV NAVOCEANO, NP1 bruce.lunde at navy.mil
Fri May 1 08:02:23 MDT 2015


Hello, FYI there is a minor mistake on this page
about if-then-else-statements:

http://www.ncl.ucar.edu/Document/Language/if.shtml

There should be one less "end if" in this example
(one "end if" to match each "else"):

if (scalar_logical_expression) then
  statement list
else if (scalar_logical_expression) then
  statement list
else if (scalar_logical_expression) then
  statement list
else
  statement list
end if
end if
end if
end if


More information about the ncl-talk mailing list