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

Rick Brownrigg brownrig at ucar.edu
Fri May 1 09:49:01 MDT 2015


Hi Bruce,

Indeed, you are quite correct -- we'll get it fixed.  Thanks for pointing
it out!

Rick


On Fri, May 1, 2015 at 8:02 AM, Lunde, Bruce N CIV NAVOCEANO, NP1 <
bruce.lunde at navy.mil> wrote:

> 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
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150501/3cd89e32/attachment.html 


More information about the ncl-talk mailing list