Index: [thread] [date] [subject] [author]
  From: Angelique Coviello <amc1@duke.edu>
  To  : 
  Date: Tue, 2 Feb 1999 19:42:17 -0500

Error command?

I just tried to post this but I don't think it worked, sorry if it comes 
up twice.

I'm wondering if there is a way to exit the program from within a class 
if the user enters an invalid expression.  I'm remembering something to 
the effect of exit(1), but I have no idea where it can be used (only in 
main or can it be from a class called by main?), what exactly it does, or 
the proper syntax and include statement.  Thanks for any help.

Angel


Index: [thread] [date] [subject] [author]