Fix bug in Lua.lua so that the boolean value false is correctly displayed in the output
This commit is contained in:
@@ -348,7 +348,7 @@ function page:executeStatement(statement)
|
|||||||
term.redirect(oterm)
|
term.redirect(oterm)
|
||||||
counter = counter + 1
|
counter = counter + 1
|
||||||
|
|
||||||
if s and m then
|
if s and type(m) ~= "nil" then
|
||||||
self:setResult(m)
|
self:setResult(m)
|
||||||
else
|
else
|
||||||
self.grid:setValues({ })
|
self.grid:setValues({ })
|
||||||
|
|||||||
Reference in New Issue
Block a user