I'm fairly new to lua and I was doing the a tutorial. So when i had to use term.clear() I got an error: attempt to index global 'term' (a nil value). This happens every time I use a term API line even in the most simple codes and I can't seem to get it to work, so could anyone please help me with my problem?
For the ones interested a code like this doesn't work:
term.clear()
term.serCursor(1,1)
print ("Hello World")