SYNTAX

    else [options] [<if>] [<condition>]


OPTIONS

-h (--help) bool

Display help.


ARGUMENTS

[<if>]

Dummy argument, just so that you can write else if <condition>. [if]

[<condition>]

The condition is optional - specify as either else if <condition> or just else for the final else clause. Any further arguments or options will be coalesced into this one. [string]


DESCRIPTION

Part of an if-else-endif block.

Example usage:

    if var ERR == 0
        <do something>
    else if var ERR == -5
        <do something else>
    else
        <do something in all other cases>
    endif

Just as in C or C++, an else block without any if <condition> must be the last else in the if...endif block.


SEE ALSO

if, endif


COPYRIGHT

Copyright (c) 2011 Accenture. All rights reserved.