Index

Count archive_filtering()

Return a boolean value which says whether archive filtering is enabled.

Arguments: (none)
(none)

Example 1:
The following example shows an example of how a command can restore the previous archive filtering after changing it temporarily.
  command fire_noise_cal() {
    Boolean state = $archive_filtering
    archive filtering=true
    ...
    archive filtering=$state
  }

Context:
This function is intended for library commands that need to enable or disable archive filtering termporarily, then restore the original filtering mode before returning to the caller.

Martin Shepherd (6-Dec-1999)