× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Well, have you tried copying the program and taking out the subroutines you 
added and seeing if it works then?

What can happen is that when you compile a program the variables are set up in 
some space in a certain order.  You may have an over flow of some variable that 
will overflow the variables after it.  If you then set those variables after it 
to something you'll never know there was an overflow and everything works fine.

Now, when you add new subroutines, you are adding new variables and they get 
added to this space also.  So that the variables are not in the same order they 
were before.  Now when your variable overflows it is writing over other 
variables.  In this case it seems to be overwriting a pointer that you don't 
set later.

So, what to do to fix this?  Look for variable overflows in your program.  Make 
sure all the parameters you are passing and receiving are of the correct length 
and type.  Make sure any array stuff you are doing is not overflowing, etc...

Regards,

Jim Langston

-----Original Message-----
From: Wills, Mike N. (TC) [mailto:MNWills@taylorcorp.com]

These new subroutines aren't even being touched right now though. I don't
see how they could affect the program.

Here is my 'H specs': H ACTGRP(*CALLER) BNDDIR('TAYBND') DFTACTGRP(*NO)

I do a 14 in PDM and then specify *SOURCE for debugging.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.