#set TITLE = "quick reference"
#include top

.SH Quick reference for quisp syntax and directives

.LP
\fB#\fR = indicates a directive, such as \fC#if\fR or \fC#include\fR
.LP
\fB//\fR = a comment (must be 1st token on line)
.LP
\fB@@\fR = used at the beginning of a variable name when its contents are to be displayed or referenced
.LP
\fB@@@@\fR = produces a literal at-sign
.LP
\fB$\fR = used at the beginning of
#set FILE = "func.html"
#set TAG = "function"
#include link
names
.LP
\fBAny line that is not a directive or comment is output directly.\fR


#include space
.SH Directives

.LP
\fB#+ \fIoutput line\fR

.LP
\fB#allresponses\fC  \fIresultvarname\fC  [\fInamepat  valuepat\fC]\fR
#include indent2
#set FILE = "allresponses.html"
#set TAG = "More info"
#include link

.LP
\fB#break\fR

.LP
\fB#call \fIfunctioncall\fR

.LP
\fB#cat  \fIfile1\fR [..\fIfileN\fR]


.LP
\fB#cgivar \fIvarname1\fC .. \fIvarnameN\fR
#include indent2
#set FILE = "cgivar.html"
#set TAG = "More info"
#include link
.br
\fB#cgilistvar  \fIvarname1\fC .. \fIvarnameN\fR
.br
\fB#cgimultivar  \fIvarname1\fC .. \fIvarnameN\fR
.br
\fB#cgitextvar  \fIvarname1\fC .. \fIvarnameN\fR

.LP
\fB#continue\fR

.LP
\fB#cookie   \fIcookiename1\fR .. \fIcookienameN\fR
#include indent2
#set FILE = "cgivar.html"
#set TAG = "More info"
#include link

.LP
\fB#exit\fR

.LP
\fB#for \fIvarname\fR across \fIcommalist\fR
.br
#include indent2
\fIloop body..\fR
.br
#include indent2
\fB#endloop\fR

.LP
\fB#for \fIvarname\fC in \fIcommalist\fR \fB 
.br
#include indent2
\fIloop body..\fR
.br
#include indent2
\fB#endloop\fR

.LP
\fB#formtarget \fIpagename\fR
#include indent2
#set FILE = "forms.html"
#set TAG = "More info"
#include link

.LP
\fB#if \fIconditional expression\fR
.br
#include indent2
\fIstatements..\fR
.br
#include indent2
\fB#elseif \fIconditional expression\fR
.br
#include indent2
\fIstatements..\fR
.br
#include indent2
\fB#else\fR
.br
#include indent2
\fIstatements..\fR
.br
#include indent2
\fB#endif\fR

.LP
\fB#include  \fIfile\fR

.LP
\fB#loop\fR
.br
#include indent2
\fIloop body..\fR
.br
#include indent2
\fB#endloop\fR

.LP
\fB#mode  \fIattribute\fR  \fIvalue\fR
#include indent2
#set FILE = "mode.html"
#set TAG = "More info"
#include link

.LP
\fB#optionlist  \fR[selected=\fIlist\fR] [options=\fIlist\fR]  \fIother parameters\fR
.br
#include indent2
\fC#options\fR
.br
#include indent2
\fIvalue1     label words 1\fR
.br
#include indent2
\fIvalue2     label words 2\fR
.br
#include indent2
 \0 ...
.br
#include indent2
</select>
#include indent2
#set FILE = "oplist.html"
#set TAG = "More info"
#include link


.LP
\fB#pass  \fIvarname1\fR .. \fIvarnameN\fR
#include indent2
#set FILE = "forms.html"
#set TAG = "More info"
#include link

.LP
\fB#return\fR

.LP
\fB#savetext  \fIfieldname   filename\fR
#include indent2
#set FILE = "textarea.html"
#set TAG = "More info"
#include link

.LP
\fB#set  \fIvarname\fC = \fIvalue or functioncall\fR

.LP
\fB#setifnotgiven  \fIvarname\fC = \fIvalue or functioncall\fR

.LP
\fB#shell  \fCdump|processrows|etc..\fR
.br
#include indent2
\fIshell command\fR
.br
#include indent2
\fB#endshell\fR
#include indent2
#set FILE = "shell.html"
#set TAG = "More info"
#include link

.LP
\fB#showtext  \fIname\fC  [addbr]  [evalvars]\fR
#include indent2
#set FILE = "textarea.html"
#set TAG = "More info"
#include link

.LP
\fB#sql  \fCdump|load|processrows|etc..\fR
.br
#include indent2
\fIsql command\fR
.br
#include indent2
\fB#endsql\fR
#include indent2
#set FILE = "sql.html"
#set TAG = "More info"
#include link

.LP
\fB#sqlblankrow  \fIdbtable\fR
#include indent2
#set FILE = "set.html"
#set TAG = "More info"
#include link

.LP
\fB#sqlbuild  \fIsqlcom  dbtable  defaultqmode\fR  [omit=\fIfields\fR]  [noquote=\fIfields\fR]  [quote=\fIfields\fR]
.br
#include indent2
#set FILE = "sql.html"
#set TAG = "More info"
#include link

.LP
\fB#sqlcgivars  \fIdbtable\fR
#include indent2
#set FILE = "cgivar.html"
#set TAG = "More info"
#include link

.LP
\fB#while  \fIconditional expression\fR
.br
#include indent2
\fIloop body..\fR
.br
#include indent2
\fB#endloop\fR

.LP
\fB#write  \fIfilename\fR
.br
#include indent2
\fItext..\fR
.br
#include indent2
\fB#endwrite\fR

#include bottom
