Atomicblitz2000
Atomicblitz2000

Reputation: 1

lua atempt to index ? a nil ? - computercraft

I'm playing project ozone 2 and I have a pain with automating the reactor but this is the only bit I cant solve can anyone tell me why this part is having an error when the rest aren't problem its at the bottom of the list

term.setCursorPos(11, 11):
print("word") 

and all of them

term.setCursorPos(11, 2);
print("Max RF:")
term.setCursorPos(11, 3);
print("Max Thru:")

 term.setCursorPos(11, 5);
 print("Cur In:")
 term.setCursorPos(11, 6);
 print("Cur Out:")
 term.setCursorPos(11, 7);
 print("Cur Bal:")

term.setCursorPos(11, 9);
print("Stored:")
term.setCursorPos(11, 10);
print("Filled:")
term.setCursorPos(11, 11):
print("word")

and the hole code if you need to look at it sorry for the mess im new to all this

https://pastebin.com/JuX5RaAh

Upvotes: 0

Views: 80

Answers (1)

GoojajiGreg
GoojajiGreg

Reputation: 1193

Changing the : at the end of that line to a ; like the others should fix the problem.

Upvotes: 4

Related Questions