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

Attempt to call nil

Started by FroschDesTodes, 18 September 2013 - 05:05 PM
FroschDesTodes #1
Posted 18 September 2013 - 07:05 PM
lable set <side> <name> / disk.setLable("side",<name>) Problem

Hi everyone,

I have a question. Im new in ComputerCraft but i've got tihs little problem since the first tutorial.

When I put "lable set left Test" into the console (left is a diskdrive within a disk) it gives me the output "No such program", but
in the program-list it is still there. At Least I've got no effekt on te disk.

The same is over the funktion in a program "disk.setLable("left", "Test")", ist says ":program:1:attemt to call nil", nothing happens on the disk.
The Wiki dosen't help me at all.

Pealse help me :D/>

Thanks for reading.

Greetings

FroschDesTodes(FrogOfDeath)
Lyqyd #2
Posted 18 September 2013 - 07:59 PM
It's "label", not "lable". Spelling is important.
FroschDesTodes #3
Posted 19 September 2013 - 08:45 PM
Thank you ^^ :D/> I'm such an idiot!

What a shame *_*