TenjintShell.
define_macro
Define a new macro
name (str) – The name of the macro.
themacro (str or Macro) – The action to do upon invoking the macro. If a string, a new Macro object is created by passing the string to it.