if

Parent Previous Next

if





if expression



 ...



end






if expression



 ...



else



 ...



end






if expression



 ...



elseif



 ...



else



 ...



end


Notes

  • expression should be either a logical statement or a scalar.
  • When expression is a scalar, it evaluates as true if it is nonzero; otherwise it is false.

Created with the Personal Edition of HelpNDoc: Full-featured Kindle eBooks generator