fix some file extensions
This commit is contained in:
parent
68f8f3e56b
commit
f3a896c724
789 changed files with 91 additions and 62 deletions
14
Task/Time-a-function/TUSCRIPT/time-a-function.tu
Normal file
14
Task/Time-a-function/TUSCRIPT/time-a-function.tu
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
$$ MODE TUSCRIPT
|
||||
SECTION test
|
||||
LOOP n=1,999999
|
||||
rest=MOD (n,1000)
|
||||
IF (rest==0) Print n
|
||||
ENDLOOP
|
||||
ENDSECTION
|
||||
time_beg=TIME ()
|
||||
DO test
|
||||
time_end=TIME ()
|
||||
interval=TIME_INTERVAL (seconds,time_beg,time_end)
|
||||
PRINT "'test' start at ",time_beg
|
||||
PRINT "'test' ends at ",time_end
|
||||
PRINT "'test' takes ",interval," seconds"
|
||||
Loading…
Add table
Add a link
Reference in a new issue