Search code examples
ibm-midrangerpglerpg

ILE RPG MOVEL in FREE FORMAT FREE RPG


Can anyone show me how this Line is coded in FREE RPG?

C                   MOVEL     TEST          TESTFELD 

Solution

  • You can use the powerful EVAL. (Eval in FREE is implicit)

    TESTFIELD = Test ;

    Remember EVAL clear the field and then move the new value.