‎2008 Mar 03 2:47 PM
Hi all!
Is there a difference between macros and perform? assuming that the routine will not return any values...
For example, I want to concatenate 3 fields into a single field on another table:
1)
DEFINE add_line.
concatenate &1 &2 into tab2-field1.
append tab2.
END-OF-DEFINITION.
2)
PERFORM add_line USING text1 text2.
concatenate text1 text2 into tab2-field1.
append tab2.
ENDPERFORM.
Which one would be better to use?
Thanx
‎2008 Mar 03 2:49 PM
well you cannot debug makros, so try to avoid them where possible
‎2008 Mar 03 2:49 PM
well you cannot debug makros, so try to avoid them where possible
‎2008 Mar 03 2:50 PM
‎2008 Mar 03 2:51 PM
Hi,
Go for PERFORM statement, we can not debug the Macros for checking values in debug mode.
Regards,
Sunil