| Group: | Flow Control |
| See also: | else if |
| Function: | endif | |
| Description: | endif ends an if-endif sequence. If has to be followed by an endif. Else is an optional part of if sequences. |
| Usage: | if (cond) | |
proc(y)=abso(x)
if (x<0)
y=-1.0*x
else
y=x
endif
endp
abso(-eh)
Contents of y [1,] 2.7183
| Group: | Flow Control |
| See also: | else if |