up: Z     index Zimbu documentation

ENUM Z.FinishReason @public

summary

     

Argument to Finish(): why it was called.

values

     
unused 

The garbage collector detected object is unused and is about to be freed. Can postpone freeing the object by returning FAIL.

exit 

The program is about to exit. Cannot postpone this, the return value is ignored.

leave 

Leaving the scope in which the not-allocated object was declared. Also when the scope is left because of an exception. Cannot postpone this, the return value is ignored.

cleared 

The variable was overwritten with NIL or a new object. Cannot postpone this, the return value is ignored.

called 

Called explicitly. Returning OK will prevent Finish() from being called automatically.

exitclean 

The program is about to exit and it was compiled with --exitclean. After "exit" is used.

members (alphabetically)

     

license

      Copyright 2010 Bram Moolenaar All Rights Reserved.

      Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0