Originally posted by Duy Nguyen
Originally posted by Kevin Kinnell
if {![string equal -nocase $subField L.ADMED]} {set condition2 true}
# Kills all messages where OBR.16="ROUST" AND PV1.3 IS NOT "L.ADMED"set obr16 "ROUST"set subField "L.ADMED"set condition1 "false"set condition2 "false"if {[string equal -nocase $obr16 "roust"]} {set condition1 true}if {[string equal -nocase $subField "L.ADMED"]} {set condition2 true}puts "condition1: $condition1"puts "condition2: $condition2"if {[string equal -nocase $condition1 true] && [string equal -nocase $condition2 false]} { puts "kill the message"} else { puts "keep the message"}
Originally posted by Alice Kazin