Irregular Webcomic!

Archive     Cast     Forum     RSS     Books!     Poll Results     About     Search     Fan Art     Podcast     More Stuff     Random     Support on Patreon    
Updates: Monday, Tuesday, Thursday, Friday; reruns all other days
<   No. 93   2003-04-27   >

Comic #93

1 Spanners: Ah, a gem. This is probably it. Now to issue the command and see if we can get out of cyberspace.
2 Spanners: System.exit(0);
3 {Scene change: back to reality}
3 Spanners: Cool! It worked! We're back in reality!
3 Iki Piki, Paris: Yay!
4 Serron: "System.exit(0);"?
4 Spanners: You expected "Computer, end program" or something stupid like that?

First (1) | Previous (92) | Next (94) || Latest Rerun (1620) | Latest New (3733)
First 5 | Previous 5 | Next 5 | Latest 5
Space theme: First | Previous | Next | Latest || First 5 | Previous 5 | Next 5 | Latest 5
This strip's permanent URL: http://www.irregularwebcomic.net/93.html
Annotations off: turn on
Annotations on: turn off

2012-02-15 Rerun commentary: System.exit(0); is the command to end a program in the language Java, which was my primary programming language at the time I wrote this strip. I don't think I've used Java since... soon after this strip was originally published.

Nowadays I primarily write code in python, in which the same command would be the very different: sys.exit(0)

The 0, by the way, if you're not familiar with program exit codes, is a code to indicate "no error". In other words, ending the program in the normal way it is expected to end. If you encounter an error condition inside your code, you can issue the same exit() command, but with a different number, to indicate exactly what error occurred. It's up to the surrounding operating system to interpret and report the error code for you. Or it could just report the number and let you look it up.

LEGO® is a registered trademark of the LEGO Group of companies, which does not sponsor, authorise, or endorse this site.
This material is presented in accordance with the LEGO® Fair Play Guidelines.

Irregular Webcomic! | Darths & Droids | Eavesdropper | Planet of Hats | The Prisoner of Monty Hall
mezzacotta | Lightning Made of Owls | Square Root of Minus Garfield | The Dinosaur Whiteboard | iToons | Comments on a Postcard | Awkward Fumbles
Last Modified: Wednesday, 15 February 2012; 02:26:35 PST.
© 2002-2017 Creative Commons License
This work is copyright and is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported Licence by David Morgan-Mar. dmm@irregularwebcomic.net