tcl proc – checking for an empty field

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf tcl proc – checking for an empty field

  • Creator
    Topic
  • #49019
    Femina Jaffer
    Participant

      Hello,

      Can anyone tell me what the syntax for check for a blank field is in TCL?

      I need to check if PV19 is empty and if it is I kill the message.  

      My syntax for doing this is:

         if { [cequal $PV19fld “”] } {

               lappend dispList “KILL $mh”

            }

      However, this works but it generates a message  in the testing tool and also writes to the log file ” ‘tps_ftp_client_filter ‘ returned bogus strMsgId ‘message0’ — ignored.

           

      What is the best way to do this cleanly without getting this message?

      Thank you.

      Femina

    Viewing 0 reply threads
    • Author
      Replies
      • #60473
        Femina Jaffer
        Participant

          Never mind all, I think I figured it out.  I just placed a space between the two ” “, and that seemed to correct it.

          Thanks again.

          fj

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.