This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
jay5476's profile picture

Bios:115 String Expected Got Function

Started by jay5476, 07 September 2013 - 09:43 PM
jay5476 #1
Posted 07 September 2013 - 11:43 PM
API: http://pastebin.com/jnxqbhsx
file: http://pastebin.com/fgjmpjiz
im getting the error bios:155: string expected got function running 'file' pastebin code using 'API' as game
please help
immibis #2
Posted 07 September 2013 - 11:52 PM

screen:setInteract(5,5,function() shell.run("Adventure") end)
sets screen[5][5]['char'] to a function, and then screen:draw() tries to write the function.