quisp: quick reference

quick server pages
| Manual page for quick(reference)

## Quick reference for quisp syntax and directives

# = indicates a directive, such as `#if` or `#include`

// = a comment (must be 1st token on line)

@ = used at the beginning of a variable name when its contents are to be displayed or referenced

@@ = produces a literal at-sign

$ = used at the beginning of function names

Any line that is not a directive or comment is output directly.

## Directives

#+ output line

#allresponses`` resultvarname`[`namepat valuepat`]` More info

#break

#call functioncall

#cat file1 [..fileN]

#cgivar varname1`..` varnameN More info
#cgilistvar varname1`..` varnameN
#cgimultivar varname1`..` varnameN
#cgitextvar varname1`..` varnameN

#continue

#cookie cookiename1 .. cookienameN More info

#exit

#for varname across commalist
loop body..
#endloop

#for varname `in` commalist
loop body..
#endloop

#formtarget pagename More info

#if conditional expression
statements..
#elseif conditional expression
statements..
#else
statements..
#endif

#include file

#loop
loop body..
#endloop

#mode attribute value More info

#optionlist [selected=list] [options=list] other parameters
`#options`
value1 label words 1
value2 label words 2
...``
</select> More info

#pass varname1 .. varnameN More info

#return

#savetext fieldname filename More info

#set varname`=` value or functioncall

#setifnotgiven varname`=` value or functioncall

#shell `dump|processrows|etc..`
shell command
#endshell More info

#showtext name`[addbr] [evalvars]` More info

#sql `dump|load|processrows|etc..`
sql command
#endsql More info

#sqlblankrow dbtable More info

#sqlbuild sqlcom dbtable defaultqmode [omit=fields] [noquote=fields] [quote=fields]
More info

#sqlcgivars dbtable More info

#while conditional expression
loop body..
#endloop

#write filename
text..
#endwrite
quick server pages
Copyright Steve Grubb

Markup created by unroff 1.0, `` `` March 16, 2004.