Posted 23 May 2013 - 07:48 AM
I'm not sure if this is a bug but I am gonna tell it anyway. I was using the paintutils.drawLine() function and typed this code in:
paintutils.drawLine(1,2,w,2,colors.blue)
Because I was in a hurry I forgot to do
w, h = term.getSize()
So when I ran the program I got this error
paintutils: 45: expected double, got nil.
Is this a bug in the api or computercraft itself not realizing that I didn't do w, h = term.getSize()?