cleanup and completed function in custom VEX function

   1532   0   1
User Avatar
Member
27 posts
Joined: 11月 2008
Offline
hi,

i'm trying to write a custom VEX function and I'm having trouble understanding exactly the difference between the cleanup and completed function.

i added cout in in each cleanup and completed and i'm finding that cleanup is never getting called and completed function gets called many times…

can someone please explain the difference between cleanup and completed please?

i have a common object that i would like to access throughout the VEX call but want to destroy at the end of the call and i'm not sure how to do this and i'm finding that either of these functions letting me do this at the moment…

any help would be greatly appreciated…

thank you very much,
alex
  • Quick Links