I have:
strfmt s0 "%-33s%d", "vacWorkflow.fillStatus", 1
logTransmitWait("DISPLAY_WORKFLOW_LIST ^M", s0)
I would like to have:
logTransmitWait("DISPLAY_WORKFLOW_LIST ^M", createWatchString("vacWorkflow.fillstatus", 1)
func createWatchString : string
param string watchString
param integer value
strfmt s0 "%-33s%d", watchString, value
return s0
endfunc
I tried this approach and got the error condition that the argument list of logTransmitWait didn't match the arguments. The function returns a string and the argument list of logTransmitWait uses a string as the second argument.
I wouldn't mind using a macro, but I wasn't successful doing that either.
any suggestions?
strfmt s0 "%-33s%d", "vacWorkflow.fillStatus", 1
logTransmitWait("DISPLAY_WORKFLOW_LIST ^M", s0)
I would like to have:
logTransmitWait("DISPLAY_WORKFLOW_LIST ^M", createWatchString("vacWorkflow.fillstatus", 1)
func createWatchString : string
param string watchString
param integer value
strfmt s0 "%-33s%d", watchString, value
return s0
endfunc
I tried this approach and got the error condition that the argument list of logTransmitWait didn't match the arguments. The function returns a string and the argument list of logTransmitWait uses a string as the second argument.
I wouldn't mind using a macro, but I wasn't successful doing that either.
any suggestions?