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

Super weird error

Started by EveryOS, 05 April 2016 - 09:21 PM
EveryOS #1
Posted 05 April 2016 - 11:21 PM
I keep getting:
bios 171: string expected
but ln 171 is an end statement to os.version
KingofGamesYami #2
Posted 05 April 2016 - 11:46 PM
Give the entire error, and your code, please. BIOS will not error if your code doesn't do something wrong.
Bomb Bloke #3
Posted 06 April 2016 - 12:32 AM
Odds are you aren't reading the source for the version of bios.lua you're actually using. I'd guess this is the actual line you're bombing out on, in which case you're calling write() with an argument that isn't a string.
Anavrins #4
Posted 06 April 2016 - 12:58 AM
When dealing with bios errors, it would be better to report the CC version as well, since most updates also changes the bios.
Also as Yami said, can't help much without seeing your own code, since bios errors are usually caused by the user.
Edited on 05 April 2016 - 10:58 PM