local -> var; scope reformatted; singleton is killed finally

This commit is contained in:
Dmitry Boulytchev 2021-01-31 22:25:31 +03:00
parent 5ae88f820d
commit 216e716251
11067 changed files with 12168 additions and 12173 deletions

View file

@ -6,7 +6,7 @@
-- Creates a new timer
public fun timer () {
local t = time ();
var t = time ();
fun () {
time () - t
@ -15,7 +15,7 @@ public fun timer () {
-- Formats a given time as a floating-point number
public fun toSeconds (t) {
local s = sprintf ("%d", t);
var s = sprintf ("%d", t);
if s.length >= 7
then