else Scilab keywords empty

Scilab manual >> Scilab > Scilab keywords > elseif

elseif

keyword in if-then-else

Description

See if,then,else .

Example

a=1;
if a==1 then
    disp("a equals 1")
elseif a==2 then
    disp("a equals 2")
else
    disp("Case not handle")
end
else Scilab keywords empty