To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1759
1758  |  1760
Subject: 
Re: video game type thing...
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 12 Mar 2001 23:51:26 GMT
Viewed: 
1287 times
  
On Mon, 12 Mar 2001, Nick Howell wrote:

Thanks for the response! Now I'm almost ready to test it. I just need to
know if, when you have a call void function, and you then use the int main()
to close the program with return 0;, will the void keep running?

No, it will not. Functions don't work like that, in general. If you want
to call a function and have it run independently of the calling function,
you must use execi() to start it.

--
"From now on, we live in a world where man has walked on the moon.
And it's not a miracle, we just decided to go." -- Jim Lovell

Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>



Message is in Reply To:
  Re: video game type thing...
 
Thanks for the response! Now I'm almost ready to test it. I just need to know if, when you have a call void function, and you then use the int main() to close the program with return 0;, will the void keep running? Thanks Nick Howell (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)

13 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR