End a procedure from a different procedure

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hey guys, I'm writing a simulator that uses about a dozen different
procedures. In each procedure I have an Application.Run that sends the
compiler to a different procedure. When I run the macro, after awhile,
I get a "Run-Time error'28' Out of stack space". I think this comes
because I've nested to many procedures. I also don't want to return to
the old procedure after completing the new one. So my question: Is
there any way to end the old Sub immediately after transferring to the
new one? And will the variables remain intact if they are declared as
public in a separate module? If my question is a little confusing I'll
clarify if necessary. Thanks
.



Relevant Pages

  • Re: Extended Hamming encode/decode
    ... I also use LET when writing BASIC code. ... yourself - thus you have to balance your idiosyncrasies with standard ... can use "auto" as the a type in a variable declaration when the compiler ... write code that requires C99 compliance even when writing c. ...
    (comp.arch.embedded)
  • Re: Java or C++?
    ... > FEM packages, ATC, SABRE - but I suspect several of those are done in C ... compiler writing, theorem proving, CAS, scientific computing, ... >> Have a play with some more modern languages like OCaml and Haskell. ...
    (comp.programming)
  • Re: Not consistent unformatted write
    ... unformatted binary file. ... On your third question, YES, memory faults can cause problems like ... always) NOT in the compiler or runtime, ... Reading the file back before closing it after writing, ...
    (comp.lang.fortran)
  • Re: How do you interpret this code ?: Modified := Original + 1;
    ... isp's newsserver which is kinda weird. ... Which makes me wonder about maybe writing a p2p usenet system without ... Yesterday I thought the compiler generated it differently, ... The Original is loaded into EAX, ...
    (alt.comp.lang.borland-delphi)
  • Re: OT:Snit tells more lies...
    ... So here it is in writing: ... store effort ended in failure in 2001. ... influenced by Apple's success, and the thinking may be, "Hey, ... mortar strategy was copied from MS's failed strategy with one store. ...
    (comp.sys.mac.advocacy)