Functions | |
endif | if (nargin==0) t |
endfunction | !assert ((is_leap_year(2000)==1 &&is_leap_year(1976)==1%!&&is_leap_year(1000)==0 &&is_leap_year(1800)==0%!&&is_leap_year(1600)==1)) |
!error | is_leap_year (1, 2) |
Variables | |
function | retval |
year = t (1) |
endfunction !assert | ( | (is_leap_year(2000)==1 &&is_leap_year(1976)==1%!&&is_leap_year(1000)==0 &&is_leap_year(1800)==0%!&&is_leap_year(1600)==1) | ) |
!error is_leap_year | ( | 1 | , | |
2 | ||||
) |
endif retval |
Initial value:
is_leap_year (year) if (nargin > 1) print_usage ()
year = t (1) |