If XED is called with any arguments, i.e.
call XED(1)
then the viewer will replace the current event in the view, rather
than display a new one. This is useful in situations like this:
define event_loop
call inp
call upk
call cal
call xed
if_not_ok quit_event
call ftt
call ftg
call ftm
call xed(1)
end_def
With this construction, the fitters are not called unless the user specifically clicks on the 'Next/Pass' button (rather than the 'Next/Fail' button). When this is done, the fits are simply included onto the presently-viewed event. The call argument to XED tells it that the event it is recieving is simply a copy of the last one, so it should not record the last event into it's history buffer.