r/ComputerCraft • • Dec 04 '16

I Need Help With An Error

Ok so I just got started using ComputerCraft in FTB (FeedTheBeast) and I'm trying to connect a Computer to one of my reactors for convenience. I have been the whole code written out and it looks good but for some reason it is giving an error ".temp:13: Expected number. number" I have checked the code and nothing jumps out as wrong to me! Can someone please help A pic of the line of code it's flagging

0 Upvotes

4 comments sorted by

1

u/Cooperadams98 Dec 04 '16

Yes, should they be commas?

2

u/dragon53535 Dec 05 '16

Commas separate arguments, periods state that it's a decimal number. It was expecting two numbers, you gave it one.

1

u/Cooperadams98 Dec 05 '16

Ok a changed it to commas and that worked. Thanks

2

u/HarriKnox Dec 04 '16

Are those periods instead of commas in setCursorPos?