Pseudo-Code  

Robert P. Munafo, 1993 Mar 15.



%%not finished yet

// This macro allows code to exit a given FOR loop, utilizing the label // generated at the end of the loop by the END_FOR(forloop_variable) macro // #define EXIT_FOR(forloop_variable) goto forloop_exit_##forloop_variable   // the FOR macro defines a variable that can be used to check the END_FOR // argument. for (i=a; i<b; i+=c) { int forloop_variable##_##forloop_variable;   // The END_FOR macro verifies that the loop variable matches. #ifdef FOR_NEST_3 FORLOOPVAR_3##_##forloop_variable = 0 * \"Error here if EXIT_FOR argument doesn't match FOR argument.\"; #undef FOR_NEST_3 #undef FORLOOPVAR_3 #else #ifdef FOR_NEST_2 #else #ifdef FOR_NEST_1 #else ERROR__EXIT_FOR_must_appear_after_a_matching_FOR; #endif #endif #endif  




From the Mandelbrot Set Glossary and Encyclopedia, by Robert Munafo, (c) 1987-2012.     Mu-ency index
Robert Munafo's home pages on HostMDS   © 1996-2012 Robert P. Munafo.   about   contact   Google+   mrob27   @mrob_27

This work is licensed under a Creative Commons Attribution-NonCommercial 2.5 License. Details here s.13