• Subject: RE: Terminating a C Program
  • From: Tim McCarthy <timm@xxxxxxxxxxxx>
  • Date: Tue, 8 Aug 2000 10:27:08 -0400


> C doesn't have that concept.  The closest you can come is by declaring
> static variables 
> and using a named activation group.  I haven't tried it but since
> named activation 
> groups persist until explicitly destroyed and static variables
> maintain state over 
> invocations the nett result should be the same.
        [Tim McCarthy]  This is correct. So long as your C program runs
in a named activation group and doesn't exit it will "stay resident". 

+---
| This is the C/400 Mailing List!
| To submit a new message, send your mail to C400-L@midrange.com.
| To subscribe to this list send email to C400-L-SUB@midrange.com.
| To unsubscribe from this list send email to C400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: bob@cstoneindy.com
+---

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact [javascript protected email address].