;~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
; function to create a instance of message
(deffunction CreateInstanceMessage (?NewLineBefore ?NewLineAfter $?Message)
   (bind ?SYMInstance (Give-Me-New-Instance-Name MESSAGE))
   (make-instance ?SYMInstance of MESSAGE
      (String $?Message)
      (MessageIndex ?*MessageIndex*)
      (NewLineBefore ?NewLineBefore)
      (NewLineAfter ?NewLineAfter)
    )
 )


