Var
Var( name )
Var( name )
Var( name )
Var( name )
let name
Var( name )
Description
The Var
statement evaluates and returns the value stored in a
named variable. The Var
statement can only be used inside other
statements, such as Let
or Lambda
.
When
You can use
|
Parameters
Parameter | Type | Definition and Requirements |
---|---|---|
|
The name of the variable whose value should be returned. |
Returns
The Value stored in the variable identified by name
.
Examples
The following query defines two variables in a Let
statement. The
first variable "x" contains the value 1 and the second variable "y"
contains the value 2. When the simple "in" expression is executed, it
returns the value stored in the variable "x".
LongV(1)
1
1
1
1
1
Is this article helpful?
Tell Fauna how the article can be improved:
Visit Fauna's forums
or email docs@fauna.com
Thank you for your feedback!