define command

    (A) Function
        Defining a script macro. 

    (B) Format

        define  <name>  [ <string> ]

    (C) Parameters
       <name>
         Designate the name of a script macro. 
       <string>
         Designate a macro definition character string. 
         If <string> is not specified, the macro name is 
         interpreted as being undefined. 

    (D) Notes
        ARGC is a reservation script macro name defined by SECONDS. 
        Because a macro name of one numeral is used in an argument macro, 
        at a macro expansion, the macro name is not expanded into 
        the macro definition character string. 
        A macro script defined with the define command is defined only 
        in the script that has defined the macro script. 
        A macro name undefined as a script macro is interpreted as 
        the name of an environment macro at a macro expansion. 
        If a script macro whose name is the same as an environment macro, 
        the script macro is expanded into its macro definition character string. 
        For definitions of environment macros, use the setenv command.

    (E) Related items
        listen command
        eval command
        setenv command