Sorry man, I thought helping her understand what the person's question
meant about scoping would benefit her as a programmer.
[mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Wednesday, July 30, 2008 3:45 PM
To: RPG programming on the AS400 / iSeries
Subject: Re: CEE0810 Error on Reallocate Statement
Who cares what the scope of 'wa' is?
The scope of 'arrayPtr' might be an issue -- if the symptoms were a
little different -- but I can't see how the scope of 'wa' could ever
At this point, I'm betting that either the memory has already been
dealloc/realloc or that there's memory corruption.
Kurt Anderson wrote:
Lorraine, just as a fyi, wa is scoped locally (to the procedure) as
opposed to globablly (to the service program). Sorry I don't have
anything otherwise helpful to pitch in here.