Page 104 - DCAP507_SYSTEM_SOFTWARE
P. 104

System Software




                    Notes             The position notation is utilized for the parameters. The parameter &INDEV has been
                                       transformed to ?1, &BUFADR has been converted to ?2.

                                      When the ?n notation is renowned in a line from DEFTAB, a simple indexing operation
                                       provides the property argument from ARGTAB.

                                   Algorithm:

                                      The procedure DEFINE, which is called when the start of a macro definition is recognized,
                                       makes the suitable entries in DEFTAB and NAMTAB.

                                      EXPAND is called to set up the argument values in ARGTAB and expand macro invocation
                                       statement.
                                      The procedure GETLINE gets the next line to be processed.

                                      This line may occur from DEFTAB or from the input file, based upon whether the Boolean
                                       variable EXPANDING is set to TRUE or FALSE.





















































                                                                                                         Contd...



          98                                LOVELY PROFESSIONAL UNIVERSITY
   99   100   101   102   103   104   105   106   107   108   109