Xref: utzoo comp.lang.pascal:979 comp.sys.ibm.pc:17036
Path: utzoo!attcan!uunet!husc6!bu-cs!madd
From: madd@bu-cs.BU.EDU (Jim Frost)
Newsgroups: comp.lang.pascal,comp.sys.ibm.pc
Subject: Turbo Pascal Chaining problem (was: Re: I have the source code... )
Message-ID: <23707@bu-cs.BU.EDU>
Date: 8 Jul 88 01:36:46 GMT
References: <432@hvrunix.UUCP>
Reply-To: madd@bu-it.bu.edu (Jim Frost)
Followup-To: comp.lang.pascal
Organization: Boston University Distributed Systems Group
Lines: 17

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