[comp.lang.pascal] Turbo Pascal Chaining problem

madd@bu-cs.BU.EDU (Jim Frost) (07/08/88)

In article <432@hvrunix.UUCP> wpohl@hvrunix.UUCP (Walter E. Pohl) writes:
|	I've been having a problem with Turbo Pascal (v 3 something).
|	I have program A chain to program B, and then program B chain to
|program A.  (in theory)
|	What happens, is that when it chains from A to B, it crashes before
|it starts B.  But, it chains from B to A with no trouble, AND (wait there's
|more), once it chains from B to A, and I tell it to chain back to B, IT WORKS...

Sounds like a memory problem.  I haven't used chaining in awhile but
it seems to me that there was a warning about making sure you had
enough memory allocated by the first program to run the second.  In
the case of chaining B->A->B, if B were bigger than A then you might
be able to run it that way but crash trying A->B->A.  At any rate,
it's discussed in the TP manual on chaining, so you should look there.

jim frost
madd@bu-it.bu.edu