ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Does anyone Know Why?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Re: Does anyone Know Why?

    DAC,
    Arrow is right. The display you show here is hex, therefore you should test MSGTEST (or msgtext2) against *ALLx'00' not ' '.
    Code:
    If MSGTEST = [B]*ALLX'00'[/B] ;
      Leave;
    Endif;
    Billw
    Originally posted by Billw
    Yes you are only comparing msgtxt to one (1) blank. And as bryce says compare it to all *blanks or *blank same diff.
    It doesn't matter. You can compare a character field to one blank literal character or figurative constants *blank or *blanks, all give the same result.
    Last edited by Mercury; November 21, 2007, 04:39 AM.
    Philippe

    Comment


    • #17
      Re: Does anyone Know Why?

      x'00' is null...the periods are just placemarkers since null is NO value...
      I'm not anti-social, I just don't like people -Tommy Holden

      Comment

      Working...
      X