<FUNCTION name="Proximity Search">
   <FIELD title="Expression:" variable=s>
   <FIELD title="Near expression:" variable=t>
   <FIELD title="Within how many words:" variable=n>
   <QUERY>#s within $n words of #t</QUERY>
</FUNCTION>

<FUNCTION name="Section Heads">
   <FIELD title="In headings:" variable=s>
   <QUERY>#s in <title></QUERY>
</FUNCTION>

<FUNCTION name="System Messages">
   <FIELD title="In system messages:" variable=s>
   <QUERY>#s in <sysmsg></QUERY>
</FUNCTION>

<FUNCTION name="Source Modules">
   <FIELD title="Source module for a message:" variable=s>
   <QUERY>#s in (<module> or <source>)</QUERY>
</FUNCTION>

<FUNCTION name="Messages by Module">
   <FIELD title="In system message:" variable=m>
   <FIELD title="From source module:" variable=s>
   <QUERY>(#m in <sysmsg>) in (<smsgsect> cont (#s in (<module> or <source>)))</QUERY>
</FUNCTION>

<FUNCTION name="Figure Captions">
   <FIELD title="In figure captions:" variable=s>
   <QUERY>#s in <figcap></QUERY>
</FUNCTION>

<FUNCTION name="Table Captions">
   <FIELD title="In table captions:" variable=s>
   <QUERY>#s in <tblcap></QUERY>
</FUNCTION>

<FUNCTION name="Procedures">
   <FIELD title="In procedures:" variable=s>
   <QUERY>#s in <proc></QUERY>
</FUNCTION>

<FUNCTION name="Notes and Warnings">
   <FIELD title="In notes:" variable=s>
   <QUERY>#s in (<note> or <suggest> or <import> or <warn>)</QUERY>
</FUNCTION>

<FUNCTION name="Glossary Terms">
   <FIELD title="Glossary term:" variable=s>
   <QUERY>#s in <term></QUERY>
</FUNCTION>

<FUNCTION name="Examples">
   <FIELD title="In example:" variable=s>
   <QUERY>#s in (<msg> or <cmnd> or <message> or <command>)</QUERY>
</FUNCTION>
