Преглед изворни кода

made free floor all numbers

pull/1/head
XeonSquared пре 4 година
родитељ
комит
b66e8f93a7
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      exec/free.lua

+ 1
- 1
exec/free.lua Прегледај датотеку

@@ -1,2 +1,2 @@
print("Total Used Free")
print(string.format("%4dK %4dK %4dK",computer.totalMemory()/1024,math.floor((computer.totalMemory()-computer.freeMemory())/1024),math.floor(computer.freeMemory()/1024)))
print(string.format("%4iK %4iK %4iK",math.floor(computer.totalMemory()/1024),math.floor((computer.totalMemory()-computer.freeMemory())/1024),math.floor(computer.freeMemory()/1024)))

Loading…
Откажи
Сачувај