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

bios:338: [string "startup"]:21 ´=´ expected

Started by LastLeagecy, 23 May 2013 - 09:37 PM
LastLeagecy #1
Posted 23 May 2013 - 11:37 PM

opcje = {}
wybor = 1
opcje[1] = "Ja	 "
opcje[2] = "Nein   "
opcje[3] = "Language  "






function uruchom(numer)
if numer == 1 then
shell.run("/disk/Last/Setup")
End


	

if numer == 2 then
shell.run("clear")
print("LastOS wurde nicht installiert.")
sleep(1)
shell.run("eject left")
shell.run("eject top")
shell.run("eject bottom")
shell.run("eject back")
shell.run("eject right")
shell.run("eject front")
term.clear()
shell.run("reboot")
  end




term.clear()
term.setCursorPos(1,1)
shell.run("reboot")
end
Edited by
Lyqyd #2
Posted 24 May 2013 - 01:38 PM
Split into new topic.

"End" and "end" are not the same, and only one is a Lua keyword. Change your `End` to `end`.