Tags: Programming Language.

In computer science a parameterized macro is a type of macro that is able to insert given objects into its expansion. This gives the macro some of the power of a function.As a simple example in the C programming language this is a typical macro that is not a parameterized macro: #define PI 3.14159This causes the string PI to be replaced with 3.14159 wherever it occurs. It will always be replaced by this string and the resulting string cannot be modified in any way.

Loading...

This page contains content from the copyrighted Wikipedia article "Parameterized macro"; that content is used under the GNU Free Documentation License (GFDL). You may redistribute it, verbatim or modified, providing that you comply with the terms of the GFDL.