Like many web-based programming languages, LXP keeps an internal list of CGI
arguments
that have
been passed to it. These arguments are implicitly treated by LXP as variables.
Note: For the purpose of this chapter, the terms "argument" and "variable" will be nearly synonymous. In context, the
term "argument" applies specifically to form-passed variables, while "variable" applies to any variable set in memory
(either passed by a form, or set by the developer).
Arguments are each passed from forms with a
name
and a
value
. For each
argument passed to an LXP document (e.g., via an HTML form), a single variable is created with the passed argument used as
the variable's name.
If two arguments have the same name, the last value passed by the form is used (with the exception of array values;
see the Section called CGI Arrays
").