Download Monk Developer`s Reference

Transcript
Chapter 15
Event Definitions
($event-parse input message-string)
($event-clear output)
(begin
)
(let ((result ($event->string output)))
($event-clear input)
($event-clear output)
result)
The variable name input is later used in path expressions to reference locations within
the event.
The structured output event (bound to the variable output) initially has no content.
(define str "CID|Doe^Jane|123 Anywhere|19990101")
($make-event-map delimMsg-delm
delimMsg-struct str)
=>{MONK_ATOM_TYPE_EVENT}
Monk Developer’s Reference
325
SeeBeyond Proprietary and Confidential