status = lifetime ( seconds ) ;
int seconds
- The number of seconds in the lifetime. A value of zero sets an infinite lifetime.
str status
- $ACKNOWLEDGE
The lifetime was set.
The STATUS variable is set to $ACKNOWLEDGE
%ARGUMENT : Invalid arguments. Usage: status = lifetime ( seconds ) ;
If n seconds are specified in the lifetime() function, then a %DEATH signal will be generated after n seconds have elapsed. If an on_death handler has been specified, then the instance whose death has arrived can reissue the lifetime() function to extend life, otherwise the instance will exit. If the death condition occurs for the concept instance, then all instances will exit.
None