general fixes
This commit is contained in:
parent
669e877513
commit
080af72ca6
@ -1,7 +1,7 @@
|
|||||||
s("lua shell",function()
|
s("lua shell",function()
|
||||||
print(_VERSION)
|
print(_VERSION)
|
||||||
while true do
|
while true do
|
||||||
h("display","> ")
|
write("> ")
|
||||||
print(pcall(load(readln())))
|
print(pcall(load(readln())))
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
@ -24,7 +24,7 @@ function fload(i)
|
|||||||
s=s..c
|
s=s..c
|
||||||
c=fread(f,math.huge)
|
c=fread(f,math.huge)
|
||||||
until c == nil
|
until c == nil
|
||||||
load(s)
|
return load(s)
|
||||||
end
|
end
|
||||||
return false
|
return false
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user