Posted 09 March 2013 - 02:41 PM
                Hey guys, I have another question!
Does pcall return true if the function completes successfully and false if there's an error?
If so is this possible or something?
Thank you! It's just so I can always return to the default program when the program which is running fails or complete :D/>
                
            Does pcall return true if the function completes successfully and false if there's an error?
If so is this possible or something?
repeat
  function blahblah()
    code here.....
  end
c = pcall(blahblah())
until (c == true or false)
shell.run("something")
Thank you! It's just so I can always return to the default program when the program which is running fails or complete :D/>
 
         
                 
                 
                