home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!pageworks.com!world!eff!news.oc.com!convex!convex!darwin.sura.net!news.udel.edu!chopin.udel.edu!kurisuto
- From: kurisuto@chopin.udel.edu (Sean J. Crist)
- Subject: THINK Pascal: calling a unit which uses you
- Message-ID: <BxoJ5n.2G7@news.udel.edu>
- Sender: usenet@news.udel.edu
- Nntp-Posting-Host: chopin.udel.edu
- Organization: University of Delaware
- Date: Sat, 14 Nov 1992 00:10:34 GMT
- Lines: 15
-
- OK, here's my problem. I've got a THINK Pascal 4.0 project which has many
- units, including two which I'll call A and B. A uses B, but I want B to
- call a procedure in A.
-
- The reason I want to do this is to write code which calls itself recursively.
- The code is very long, and I can't see any way to restructure the
- code so that the recursive call happens within one unit.
-
- I've read the documentation, but I don't see any way to do this. Labeling
- routines as 'external' or 'forward' doesn't seem to work, although it may
- be that I just haven't done it properly. There must be a way. Does
- anyone have any ideas?
-
- --Kurisuto
-
-