Please enable JavaScript to view this site.

Vensim Help

C/C++int VEFCC VensimContextDrop(int contex) ;
Javapublic static native int ContextDrop(int context) ;

Drops a context that was created with VensimContextAdd..

Arguments

context        the context to delete.  This must be a valid context as returned by VensimContextAdd.

Returns

1 on success and 0 on failure.  This function will fail if the context is not valid or if the DLL fails to get a mutex lock that will allow the release of resources.  

Notes

If the context was created with the wantcleanup flag nonzero the working files used by the context should be automatically deleted.  

See Also

VensimContextAdd