tmp_church_0.scr

lima-1.0b5/lib/domains/std/2.4.5/tmp_church_0.scr · 314 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

is=object
flag=attached
primary_id=clock
variables=last_reset
setup:
  lpc
    _last_reset = time();
  end
end
reset:
  lpc
    _last_reset = time();
  end
end
long:
  lpc
    return "The clock shows " + convert_time(uptime()) + "\n" + "Time since reset is " + convert_time(time() - _last_reset) + "\n";
  end
end

Site Stats

Snippets: 1791
Codebases: 571