Rate counter: Difference between revisions
Content added Content deleted
m (→{{header|Wren}}: Changed to Wren S/H) |
(Added Easylang) |
||
Line 801: | Line 801: | ||
theJob() |
theJob() |
||
})</syntaxhighlight> |
})</syntaxhighlight> |
||
=={{header|EasyLang}}== |
|||
[https://easylang.dev/show/#cod=RYzLCsIwEEX3+YpDF+IDyygUV+m/hDZCIA9JB8G/l4SKm8sc5ty7lFgqDxFTMi6H5NQbYIne1XZUt3KxyHhvlMrbMwmTdCnUJfqmNArPLs/7c+9aOo0tFMv22TQkvxdUmPnprxqychMRzhyVKyonDgykbfiPCBY1Pq/mCw== Run it] |
|||
<syntaxhighlight> |
|||
color 700 |
|||
on animate |
|||
clear |
|||
rad += 0.2 |
|||
move 50 50 |
|||
circle rad |
|||
if rad > 50 |
|||
rad = 0 |
|||
. |
|||
t = systime |
|||
if t0 > 0 |
|||
print 1000 * (t - t0) & " ms" |
|||
. |
|||
t0 = t |
|||
end |
|||
</syntaxhighlight> |
|||
{{out}} |
|||
<pre> |
|||
17.00 ms |
|||
17.00 ms |
|||
16.00 ms |
|||
. |
|||
. |
|||
</pre> |
|||
=={{header|Erlang}}== |
=={{header|Erlang}}== |