next up previous contents
Next: XED and Data Masks Up: The XSnoed Event Display Previous: Using XED as a   Contents

XED Call Arguments

XED can be called using PEL call arguments. These may develop new functionality in the future. For now, they serve only one purpose.

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.



sno Guest Acct 2009-09-09