home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / f / funnel-x.zip / examples / ex08.fw < prev    next >
Text File  |  1992-05-27  |  1KB  |  40 lines

  1. EX08: This example demonstrates the use of parameterized macros.
  2.  
  3. @O@<ex08.out@>==@{@-
  4. The Twelve Bugs of Christmas
  5. ----------------------------
  6. @<Verse@>@(@"first@"    @,@<1@>@)
  7. @<Verse@>@(@"second@"   @,@<2@>@)
  8. @<Verse@>@(@"third@"    @,@<3@>@)
  9. @<Verse@>@(@"fourth@"   @,@<4@>@)
  10. @<Verse@>@(@"fifth@"    @,@<5@>@)
  11. @<Verse@>@(@"sixth@"    @,@<6@>@)
  12. @<Verse@>@(@"seventh@"  @,@<7@>@)
  13. @<Verse@>@(@"eighth@"   @,@<8@>@)
  14. @<Verse@>@(@"ninth@"    @,@<9@>@)
  15. @<Verse@>@(@"tenth@"    @,@<A@>@)
  16. @<Verse@>@(@"eleventh@" @,@<B@>@)
  17. @<Verse@>@(@"twelfth@"  @,@<C@>@)
  18.  
  19. This song appeared in the internet newsgroup rec.humor.funny on 24-Dec-1991.
  20. It was contributed by Pat Scannell (scannell@@darkstar.ma30.bull.com).
  21. @}
  22.  
  23. @$@<Verse@>@(@2@)@M==@{@-
  24. For the @1 bug of Christmas, my manager said to me
  25.      @2
  26. @}
  27.  
  28. @$@<1@>@M==@{See if they can do it again.@}
  29. @$@<2@>@M==@{Ask them how they did it and@+@<1@>@}
  30. @$@<3@>@M==@{Try to reproduce it@+@<2@>@}
  31. @$@<4@>@M==@{Run with the debugger@+@<3@>@}
  32. @$@<5@>@M==@{Ask for a dump@+@<4@>@}
  33. @$@<6@>@M==@{Reinstall the software@+@<5@>@}
  34. @$@<7@>@M==@{Say they need an upgrade@+@<6@>@}
  35. @$@<8@>@M==@{Find a way around it@+@<7@>@}
  36. @$@<9@>@M==@{Blame it on the hardware@+@<8@>@}
  37. @$@<A@>@M==@{Change the documentation@+@<9@>@}
  38. @$@<B@>@M==@{Say it's not supported@+@<A@>@}
  39. @$@<C@>@M==@{Tell them it's a feature@+@<B@>@}
  40.