What is positional parameter in macro?
Then, how are parameters passed to a macro?
A parameter can be either a simple string or a quoted string. It can be passed by using the standard method of putting variables into shared and profile pools (use VPUT in dialogs and VGET in initial macros). This method is best suited to parameters passed from one dialog to another, as in an edit macro.
Similarly, what are macro parameters?
The macro definition can include macro arguments, which can be assigned specific values in the macro call. There are two types of arguments: keyword and positional. Keyword arguments are assigned names in the macro definition; in the macro call, they are identified by name.
The main difference between Macro and Procedure is that the Macro is used for a small number of instructions; less than ten instructions, but Procedure is used for a large number of instructions; higher than ten instructions. Overall, Macro and Procedure are two concepts in Microprocessor programming.