This post describes the difference between macro functions and library functions.
Macro functions replace code at that location. Library functions call functions in other locations. Thus, they have the characteristics shown in the table below.
Characteristics | Macro function | Library function |
---|---|---|
Type declarations | No Related. | Related. |
Program capacity | Capacity increases in proportion to the number of uses. | Same capacity regardless of number of uses. |
Execution speed | Faster than library functions. | Slower by the function call processing time. |