DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(m4.info) Conditionals

Info Catalog (m4.info) Definitions (m4.info) Top (m4.info) Debugging
 
 Conditionals, loops and recursion
 *********************************
 
    Macros, expanding to plain text, perhaps with arguments, are not
 quite enough.  We would like to have macros expand to different things,
 based on decisions taken at run-time.  E.g., we need some kind of
 conditionals.  Also, we would like to have some kind of loop construct,
 so we could do something a number of times, or while some condition is
 true.
 

Menu

 
* Ifdef                       Testing if a macro is defined
* Ifelse                      If-else construct, or multibranch
* Loops                       Loops and recursion in m4
 
Info Catalog (m4.info) Definitions (m4.info) Top (m4.info) Debugging
automatically generated byinfo2html