Jump to content




Ending a program without return or break?

help

  • You cannot reply to this topic
3 replies to this topic

#1 lieudusty

  • Members
  • 419 posts

Posted 31 August 2012 - 04:23 AM

Hi everyone! =D

I'm wondering is there another way to break a program without using return or break? Thanks!

#2 Luanub

    Lua Nub

  • Members
  • 1,135 posts
  • LocationPortland OR

Posted 31 August 2012 - 04:37 AM

You can abort it using the error() function.

#3 KaoS

    Diabolical Coder

  • Members
  • 1,510 posts
  • LocationThat dark shadow under your bed...

Posted 31 August 2012 - 07:16 AM

os.shutdown() :)/>

#4 lieudusty

  • Members
  • 419 posts

Posted 31 August 2012 - 10:33 PM

Haha os.shutdown() works xD Thanks for the answers guys!





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users