aboutsummaryrefslogtreecommitdiff
path: root/pkg/xtools/catquery/doc/cqsqparn.hlp
blob: f0cc92fc4108cbb52364d3a2c578e0076b0dfd0c (plain) (blame)
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
.help cqsqparn Mar00 "Catquery Package"
.ih
NAME
cqsqparn -- set the value of a query parameter by number
.ih
SYNOPSIS

parno = cq_sqparn (cq, parno, value)

.nf
pointer	cq		# the configuration file descriptor
int	parno		# the sequence number of the query parameter
char	value		# the query parameter value
.fi
.ih
ARGUMENTS
.ls cq     
The configuration file descriptor.
.le
.ls parno
The sequence number of the query parameter to be set.
.le
.ls value
The new query parameter value.
.le
.ih
DESCRIPTION
Cq_sqpar sets the value of the named query parameter. Qq_sqpar is an integer
function which returns the sequence number of the requested parameter
as its function value.  Zero is returned if the requested query parameter
is not found.
.ih
NOTES
Cq_setcat or cq_setcatn must be called before a query parameter value
can be changed.
.ih
SEE ALSO
cqnqpars, cqgqpar, cqgparn, cqsqpar
.endhelp