Date : Sun, 17 Jan 1993 16:33:56 GMT
From : agate!spool.mu.edu!uwm.edu!cs.utexas.edu!milano!cactus.org!wixer!fmouse@ucbvax.Berkeley.EDU (Lindsay Haisley)
Subject: Re: Z80 Turbo Pascal Question
In article <lleuakINNrto@utkcs2.cs.utk.edu> farmer@cs.utk.edu (SUSAN FARMER)
writes:
>If I exit the program immediately after chaining, and then SAVE the program,
>will I be able to execute Step2 only (with its nicely filled arrays.
>If this won't work, is there some cute trick that I can do to make it work?
>
>Exactly what state in program execution does the SAVE statement get it? (If
>I am misunderstanding the operation of the Save statement, forgive my
>obviously idiotic ramblings.)
The only sure way to find out if it will work is to try it. Some programs
initialize themselves in such a fashion that a reentry to the code after
initialization won't work, while others are more forgiving. My experience
is that among more complex programs (which include those generated with
Pascal and C compilers) a successful reentry to the executed code (which is
what you will be SAVEing) is the exception rather than the rule, but again,
you should try it.
--
"Everything works if you let it" | Lindsay Haisley
-- The Roadie | fmouse@wixer.cactus.org
| * * * *
| Austin, Texas, USA