ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

concat between one variable & messageid

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

  • concat between one variable & messageid

    Hi,
    I want to concat one variable(which contain ur created data) with message(text)of message file & put it into one field. & Now I want to pass that field on screen

  • #2
    Re: concat between one variable & messageid

    Newfld = %Trim(FirstVar) + %Trim(SecondVar)

    This trims leading/trailing blanks from FirstVar and SecondVar and puts them together into NewFld

    d FirstVar c Const('First')
    d SecondVar c Const('Second')
    d NewFld s 11a

    Newfld = %Trim(FirstVar) + %Trim(SecondVar);

    NewFld now is 'FirstSecond'
    Bill
    "A good friend will bail you out of jail,
    A true friend would be sitting beside you saying,
    'Wow, that was fun.'"

    Comment

    Working...
    X