Functions | |
retval (1) | |
retval (2) | |
retval (3) | |
retval (4) | |
retval (5) | |
retval (6) | |
!assert (etime(t1, t2)< 1) | |
Variables | |
function | retval |
endfunction!test | !t1 = clock |
!t2 = str2num (strftime ("[%Y, %m, %d, %H, %M, %S]", localtime (time ()))) |
!assert | ( | ) |
retval | ( | 6 | ) |
retval | ( | 5 | ) |
retval | ( | 4 | ) |
retval | ( | 3 | ) |
retval | ( | 2 | ) |
retval | ( | 1 | ) |
endfunction !test !t1 = clock |
retval |
Initial value:
clock () tm = localtime (time ())