Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Flow Control
See also: endif if

Function: else
Description: else branches in if-endif sequences. It is an optional part of this sequences.

Usage: if (cond) {else } endif

Example:

proc(y)=abso(x)
  if (x<0)
    y=-1.0*x
  else
    y=x
  endif
endp

abso(-eh)
Result:

Contents of y
[1,]   2.7183 

Group: Flow Control
See also: endif if

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 28.6.1999