package require logbook set book [logbook::logbook open mylogbook] # e.g. set shifts [$book listshifts] set shift [lindex $shifts 0] foreach s [lrange $shifts 1 end] { $s destroy } ...
$shift destroy
set name [$shift name]
set id [$shift id]
set members [$shift members]
Shift instances are command ensembles that are generated by the logbookinstance objects (see logbookinstance). Shift instances encapsulate resources and must be destroyed using their destroy subcommand when they are no longer needed (see the SYNOPSIS for an example of that.).
Destroys the shfit instance. All resources held by the object are relesed and the command is removed from the Tcl interpreter
Returns the name of the encapsulated shift.
Returns the primary key assigned to the encapsulated shift.
Returns person instances for all of the members of the encapsulated shift. See personinstance for information about person instances