Re: CLOSE and FREE
Posted in 1995
schimmel@jupiter2.noname (Karl Schimmel) writes: >In article 1Cw@cix.compulink.co.uk, onlinedbc@cix.compulink.co.uk ("Malcolm Weallans") writes: >>In my humble opinion I think that this has something to do with front-end >>and back-end memory allocation. I think CLOSE releases memory in the >>front-end but FREE releases memory in the back-end, or it might be the >>other way round. >> >free as used in 4gl or esql/c on a cursor id will free the backend resources >associated with that id. FREE clears the program memory resources as well as engine resources; you can OPEN a cursor that was previously CLOSEd, but you have to DECLARE the cursor again if you FREE it. ======================================================================= Dennis J. Pimple dennisp@informix.com Opinions expressed Senior Consultant -------------------- are mine, and do not Informix Software Inc Voice: 303-850-0210 necessarily reflect Denver Colorado USA Fax: 303-779-4025 those of my employer.