Procedure calls and the impossible triangle
I've been busy with school the past few months and have just gotten back to
Euphoria. Today I converted 600 lines of BASIC code to Euphoria. I made a
.e file with all of the procedures. The problem is that they have calls to
each other, and I can't get them in the right order (in other words you can't
make a call to one that is written after the one that is calling)... it's
like one of those impossible triangles. For example, A calls to B, B calls
to C, and C calls to A. For A to call to B, it must be after B. B must be
after C for the same reason. But, A must be before C, but it can't because
it's after B. I can probably fix this by making more than one .e file or
duplicating code, but is there an easier way?
Derek Brown
|
Not Categorized, Please Help
|
|