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

bios : 14 : [string "mobs"] : 5 : unexcepted symbol

Started by scotti8, 27 August 2016 - 05:33 AM
scotti8 #1
Posted 27 August 2016 - 07:33 AM
Hello. This is my first post and I am fairly new to lua so pardon me if this fix is quite easy.

I was trying to create a menu for computercraft so i could use it in later programs. Like most newcomers, I took to tutorials for help. But when I try it to run, I get an Error.

Error: bios : 14 : [string "mobs"] : 5 : unexcepted Symbol

http://pastebin.com/RhJ5SrQj
TheRockettek #2
Posted 28 August 2016 - 12:44 AM
Erm, is there the "2." Part writen in it? If there isnt the "2." On the 5th line, its just the fas=ct that the right side of the computer doesnt have a monitor.
scotti8 #3
Posted 28 August 2016 - 11:29 AM
Erm, is there the "2." Part writen in it? If there isnt the "2." On the 5th line, its just the fas=ct that the right side of the computer doesnt have a monitor.
That is what should I Change now?
Dragon53535 #4
Posted 29 August 2016 - 03:18 AM
If you do indeed have the commands numbered like

1.
2.
3.
4.
5.
Then you need to remove those.
TheRockettek #5
Posted 29 August 2016 - 08:18 AM
If it still doesnt work then that means theres no monitor on the right side, you can check if you dont know the peripheral name by doing peripheral.getType(sideName)
Bomb Bloke #6
Posted 29 August 2016 - 08:58 AM
If the side display were missing, there'd be a different error - you won't get an "unexpected symbol" due to a missing peripheral.
TheRockettek #7
Posted 29 August 2016 - 04:17 PM
If the side display were missing, there'd be a different error - you won't get an "unexpected symbol" due to a missing peripheral.

Weve already established the fact that the "1. " is erorung it, just adding extra information incase that is also an error :I

#DontAssumeOrTrustHashtags