The comment statement performs cursor control and screen display commands in a macro is similar to the t statement in a PROC. Its primary function is to add screen control capabilities to macro commands.
The display statement outputs text on the screen in a macros or a Procs. If the message text is terminated by a +, the trailing carriage return is suppressed.
The prompt statement in a macro prompts the user with a specified text string. The user is then given the option to either continue (by entering c, or stopping the process (by entering q). No other characters are allowed.