Could anyone help, just kinda list the basic functions needed?
I would like to make a Windows 8 Style blue screen. The big "
Thanks in advance.
-deadmau5
Posted 07 September 2013 - 11:51 PM
Posted 08 September 2013 - 12:43 AM
suc,err = pcall(print(var)) if not suc then print(err) endthat will show the error attempt to call number
Posted 08 September 2013 - 12:53 AM
jay5476, on 08 September 2013 - 12:43 AM, said:
suc,err = pcall(print(var)) if not suc then print(err) endthat will show the error attempt to call number
Posted 08 September 2013 - 01:09 AM
suc, err = pcall(code) if not suc then print(err) -- or do stuff with the information end
Posted 08 September 2013 - 04:35 AM
local ok, err = pcall(shell.run, "someProgram") if not ok and err ~= "Terminated" then print(err) endThat way you're handling errors of a program, and also making sure you don't show the error screen if they terminated the program.
0 members, 2 guests, 0 anonymous users