>
>I may need to rephrase things a bit. It's been quite a long while since I've worked with .APP files.
>
>In my case, I would call a "startup" type function from the .APP file, passing a parameter that would indicate the internal to the .APP form or program that I wanted to run. Now from within that startup function, I would start up a form, or whatever else it was I needed. Since it all started from the "startup", anything else within the .APP was available to be called.
>
>I've not tried just calling the .APP and then continuing on with a main program and calling other things in the .APP afterwards from the main. THought I should just clarify things.
Thank you for clarifying things. I think I use my .APP kind of as you do/did. I have a big DO CASE in the main program of the .APP. Then based on the parameter passed to the .APP, the appropriate CASE handle what is needed (opens a form, etc.). Then the control is returned to the calling program. I simply thought that once the procedure done by the .APP is finished working, it would be nice to clear the memory. If not, it is not a big deal.
One other thing if I may ask you. Is there way to tell the VFP compiler that a function used in the .APP is defined in the calling program so that it would not complain?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham