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

[LUA][Error]:9: attempt to compare _ _lt on function and number

Started by Neopherus, 27 February 2013 - 12:58 AM
Neopherus #1
Posted 27 February 2013 - 01:58 AM
http://pastebin.com/LPNktE82

Hi. Never gotten this error before and neither has google, it seems.

Wrote a platform making script (supplied in pastebin) and the instant I try running it I get platform:9: attempt to compare _ _lt on function and number.
Can anyone tell me why this is happening and possibly how to fix it?
I've tried running it with both one and two arguments. Same error both times.
Kingdaro #2
Posted 27 February 2013 - 02:07 AM
Put () after turtle.getFuelLevel on line 9.
Neopherus #3
Posted 27 February 2013 - 02:10 AM
lol wow. Thanks!
(retreats to derpcorner)