I've written a program making use of COMLIB to manipulate Excel sheets. I use PROCcleanup as documented on the WIKI.
Code:DEF PROCcleanupXlapp% += 0 : IF Xlapp% PROC_releaseobject(Xlapp%) : Xlapp% = 0Xlbook% += 0 : IF Xlbook% PROC_releaseobject(Xlbook%) : Xlbook% = 0ENDPROC
All works fine !
But I fail to understand the purpose of the statements Xlapp% +=0 and Xlbook% += 0
Are Xlapp% and Xlbook% changed after execution of those statements ?
Edja