Posted 07 June 2015 - 09:22 PM
So I was reading some lines in the current paint program in computercraft and noticed something really weird on lines 179 - 198
the for loop in that seems rather pointless honestly….I just figured people would get a kick out of it as well :P/>
anyone else know any funny lines within the rom files?
-- Left and Right Selected Colours
for i=18,18 do
term.setCursorPos(w-1, i)
if leftColour ~= nil then
term.setBackgroundColour( leftColour )
term.write(" ")
else
term.setBackgroundColour( canvasColour )
term.setTextColour( colours.grey )
term.write("X")
end
if rightColour ~= nil then
term.setBackgroundColour( rightColour )
term.write(" ")
else
term.setBackgroundColour( canvasColour )
term.setTextColour( colours.grey )
term.write("X")
end
end
the for loop in that seems rather pointless honestly….I just figured people would get a kick out of it as well :P/>
anyone else know any funny lines within the rom files?
Edited on 07 June 2015 - 07:23 PM