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

Unexpected Symbol

Started by ChaosBlackX, 08 August 2015 - 10:06 PM
ChaosBlackX #1
Posted 09 August 2015 - 12:06 AM
I was editing a Big Reactor interface program and it will not work because of an unexpected symbol. I've been trying to fix this for 30 minutes now and I am very new with this stuff.

The exact error code is bios:14: [string ".temp"]:2: unexpected symbol

program : pastebin.com/VGYuPG9G
Communeguy #2
Posted 09 August 2015 - 12:17 AM
I could be wrong - I don't have big reactors so I can't test it myself - but I believe the "-" on line 2 should be an underscore.

with bios error codes the second number is the line in the code throwing the error. From there you can see what that line would be dependant on to diagnose the error, if you can't find the error right in that code.
Edited on 08 August 2015 - 10:18 PM
HPWebcamAble #3
Posted 09 August 2015 - 12:24 AM
Heres the first line:

while true do file(

I'm not sure if its a typo, but 'file(' shouldn't be there.


I could be wrong - I don't have big reactors so I can't test it myself - but I believe the "-" on line 2 should be an underscore.
I'm almost positive that Chaos got it right, it depends on the naming scheme the author used (The BigReactors Author)

It wouldn't cause a bios error, but it could be a problem if its incorrect, as the computer won't be able to find the peripheral.
ChaosBlackX #4
Posted 09 August 2015 - 01:51 AM
Thanks a bunch, I got rid of the file( and it works fine! Again, thanks a bunch! :D/>