1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
|
<HTML>
<!----------------------------------------------------------------------------->
<!-- START OF AUTOMATICALLY GENERATED HTML FILE -->
<!----------------------------------------------------------------------------->
<!-- -->
<!-- This HTML file was generated by the FunnelWeb literate programming -->
<!-- preprocessor. You can display this file using popular web browsers -->
<!-- such as Netscape Navigator and Microsoft Internet Explorer. -->
<!-- -->
<!-- FunnelWeb is a preprocessor that allows programmers to weave programs -->
<!-- and their documentation together in a single document. The FunnelWeb -->
<!-- program analyses such documents producing both program files and -->
<!-- typeset documentation such as this HTML file. -->
<!-- -->
<!-- FunnelWeb was created by Ross N. Williams (www.ross.net) and is -->
<!-- available free of charge under a GNU General Public Licence. -->
<!-- The FunnelWeb website can be found at http://www.ross.net/funnelweb/ -->
<!-- -->
<!----------------------------------------------------------------------------->
<HEAD>
<TITLE>Package wv03</TITLE>
<STYLE TYPE="text/css">
<!--
A {text-decoration: none}
H1 { font-family: sans-serif; font-size: large }
H2 { font-family: sans-serif; font-size: medium; font-weight: bold }
H3 { font-family: sans-serif; font-size: medium }
H4 { font-family: sans-serif; font-size: small }
H5 { font-family: sans-serif; font-size: small }
// -->
</STYLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF TEXT=#000000 LINK=#CC0033 VLINK=#CC0033 ALINK=#CC0000>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
WV03: Test the typesetting of various kinds of macros.
<P>First create an output file to keep the analyser happy.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="1"></A><B>1. File:</B> wv03.out={<FONT COLOR=#000033></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is attached to an output file.</FONT>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>1. Test macro never used.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="2"></A>2. Never Used[<B>Z</B>]={<FONT COLOR=#000033></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>2. Test a macro used once.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="3"></A>3. <A HREF="#7">Used Once</A>={<FONT COLOR=#000033></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#7">7</A>.</FONT><BR>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>3. Test a macro used twice.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="4"></A>4. <A HREF="#7">Used Twice</A>[<B>M</B>]={<FONT COLOR=#000033></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is invoked in definitions <A HREF="#7">7</A> and <A HREF="#8">8</A>.</FONT><BR>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>4. Test a macro used three times.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="5"></A>5. <A HREF="#7">Used Thrice</A>[<B>M</B>]={<FONT COLOR=#000033></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is invoked in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A> and <A HREF="#9">9</A>.</FONT><BR>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>5. Test a macro used five times.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="6"></A>6. <A HREF="#7">Used Quice</A>[<B>M</B>]={<FONT COLOR=#000033></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is invoked in definitions <A HREF="#7">7</A>, <A HREF="#8">8</A>, <A HREF="#9">9</A>, <A HREF="#10">10</A> and <A HREF="#11">11</A>.</FONT><BR>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>Here is the macro that does all the calling for the above.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="7"></A>7. Dummy1[<B>Z</B>]={<FONT COLOR=#000033><A HREF="#3">Used Once</A><TT><BR>
</TT>
<A HREF="#4">Used Twice</A><TT><BR>
</TT>
<A HREF="#5">Used Thrice</A><TT><BR>
</TT>
<A HREF="#6">Used Quice</A><TT><BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="8"></A>8. Dummy2[<B>Z</B>]={<FONT COLOR=#000033><A HREF="#4">Used Twice</A><TT><BR>
</TT>
<A HREF="#5">Used Thrice</A><TT><BR>
</TT>
<A HREF="#6">Used Quice</A><TT><BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="9"></A>9. Dummy3[<B>Z</B>]={<FONT COLOR=#000033><A HREF="#5">Used Thrice</A><TT><BR>
</TT>
<A HREF="#6">Used Quice</A><TT><BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="10"></A>10. Dummy4[<B>Z</B>]={<FONT COLOR=#000033><A HREF="#6">Used Quice</A><TT><BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="11"></A>11. Dummy5[<B>Z</B>]={<FONT COLOR=#000033><A HREF="#6">Used Quice</A><TT><BR>
</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>6. Test a macro with two body parts.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="12"></A>12. <A HREF="#21">Two body parts</A>[<B>Z</B>]+={<FONT COLOR=#000033><TT>Sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#12">12</A> and <A HREF="#13">13</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#21">21</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="13"></A>13. <A HREF="#21">Two body parts</A>[<B>Z</B>]+={<FONT COLOR=#000033><TT>Walrus</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#12">12</A> and <A HREF="#13">13</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#21">21</A>.</FONT><BR>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>7. Test a macro with three body parts.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="14"></A>14. <A HREF="#19">Three body parts</A>[<B>Z</B>]+={<FONT COLOR=#000033><TT>Sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#14">14</A>, <A HREF="#15">15</A> and <A HREF="#16">16</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#19">19</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="15"></A>15. <A HREF="#19">Three body parts</A>[<B>Z</B>]+={<FONT COLOR=#000033><TT>Walrus</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#14">14</A>, <A HREF="#15">15</A> and <A HREF="#16">16</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#19">19</A>.</FONT><BR>
<FONT COLOR=#CC0033>
<P><A NAME="16"></A>16. <A HREF="#19">Three body parts</A>[<B>Z</B>]+={<FONT COLOR=#000033><TT>Aardvaark</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#14">14</A>, <A HREF="#15">15</A> and <A HREF="#16">16</A>.</FONT><BR>
<FONT SIZE=1>This macro is invoked in definition <A HREF="#19">19</A>.</FONT><BR>
<P><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0><TR><TD WIDTH=400>
<P>8. Test a macro with five body parts.
</TD></TR></TABLE>
<FONT COLOR=#CC0033>
<P><A NAME="17"></A>17. Five body parts[<B>Z</B>]+={<FONT COLOR=#000033><TT>Sloth</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#17">17</A>, <A HREF="#18">18</A>, <A HREF="#19">19</A>, <A HREF="#20">20</A> and <A HREF="#21">21</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="18"></A>18. Five body parts[<B>Z</B>]+={<FONT COLOR=#000033><TT>Walrus</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#17">17</A>, <A HREF="#18">18</A>, <A HREF="#19">19</A>, <A HREF="#20">20</A> and <A HREF="#21">21</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="19"></A>19. Five body parts[<B>Z</B>]+={<FONT COLOR=#000033><A HREF="#14">Three body parts</A></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#17">17</A>, <A HREF="#18">18</A>, <A HREF="#19">19</A>, <A HREF="#20">20</A> and <A HREF="#21">21</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="20"></A>20. Five body parts[<B>Z</B>]+={<FONT COLOR=#000033><TT>Aardvaark</TT>
</FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#17">17</A>, <A HREF="#18">18</A>, <A HREF="#19">19</A>, <A HREF="#20">20</A> and <A HREF="#21">21</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<FONT COLOR=#CC0033>
<P><A NAME="21"></A>21. Five body parts[<B>Z</B>]+={<FONT COLOR=#000033><A HREF="#12">Two body parts</A></FONT>}<BR>
</FONT>
<FONT SIZE=1>This macro is defined in definitions <A HREF="#17">17</A>, <A HREF="#18">18</A>, <A HREF="#19">19</A>, <A HREF="#20">20</A> and <A HREF="#21">21</A>.</FONT><BR>
<FONT SIZE=1>This macro is NEVER invoked.</FONT>
<P>
<HR SIZE=4 NOSHADE>
<CENTER><B>End Of File</B></CENTER>
<HR SIZE=4 NOSHADE>
</BODY>
<!----------------------------------------------------------------------------->
<!-- END OF AUTOMATICALLY GENERATED HTML FILE -->
<!----------------------------------------------------------------------------->
</HTML>
|