Originally posted by Rich Durkee
I wrote a trxid proc. When I run it through the Testing Tool using a data file that has HL7 messages I keep getting this error:
[0:TEST] Tcl error:
msgId = message0
proc = junk
args = ''
result = 'wrong # args: should be "junk mh"'
Here is the trxid proc:
proc junk { mh } {
set trxId AAAAAA
return $trxId
}
I realize this doesn't do much. My original proc was much bigger but I kept cutting things out, trying to get rid of the error, until I ended up with this. I couldn't make it any smaller but still get the error, so I have turned to the experts.
I know it's probably something small and ****, but I just cannot see the problem.