mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-03-21 15:25:56 +01:00
Update ECSAPI.lua
This commit is contained in:
@@ -7,7 +7,6 @@ local shell = require("shell")
|
||||
local keyboard = require("keyboard")
|
||||
local computer = require("computer")
|
||||
local serialization = require("serialization")
|
||||
local fs = require("filesystem")
|
||||
local internet = require("internet")
|
||||
local gpu = component.gpu
|
||||
|
||||
@@ -318,14 +317,6 @@ function ECSAPI.stringOptimize(sto4ka, indentatonWidth)
|
||||
return stro4ka
|
||||
end
|
||||
|
||||
--Сделать строку пригодной для отображения в ОпенКомпах
|
||||
function ECSAPI.stringOptimize(sto4ka, indentatonWidth)
|
||||
indentatonWidth = indentatonWidth or 2
|
||||
sto4ka = string.gsub(sto4ka, "\r\n", "\n")
|
||||
sto4ka = string.gsub(sto4ka, " ", string.rep(" ", indentatonWidth))
|
||||
return stro4ka
|
||||
end
|
||||
|
||||
--ИЗ ДЕСЯТИЧНОЙ В ШЕСТНАДЦАТИРИЧНУЮ
|
||||
function ECSAPI.decToBase(IN,BASE)
|
||||
local hexCode = "0123456789ABCDEFGHIJKLMNOPQRSTUVW"
|
||||
|
||||
Reference in New Issue
Block a user