Hash Operator

# Operator

Relevance:
Variable occurrences within this function do not contribute towards the overall relevance of those variables.
Consequently, such variables must occur in at least one other context for them to be considered relevant.
Description 1 of 4 (a particular repeated value):
A particular value of a repeated expression.
In the following examples, consider there are two companies named Alpha Holdings and Beta Construction. Consider also that the directors of the first company are Jim, Mary, Eva, and Michael, and that the directors of the second company are Ted and Anthony.
Returns:
Any
Parameters:
Parameter
Data Type
Description
1
Any
The repeated expression.
2
Whole Number
The repeat counter relative to the current repeat context.
Example:
When using functions inside a field, remember the field brackets:
{VariableName # 2}
Expression
Result
CompanyName # 2
"Beta Construction"
Description 2 of 4 (a particular repeated value):
A particular value of a repeated expression.
In the following examples, consider there are two companies named Alpha Holdings and Beta Construction. Consider also that the directors of the first company are Jim, Mary, Eva, and Michael, and that the directors of the second company are Ted and Anthony.
Returns:
Any
Parameters:
Parameter
Data Type
Description
1
Any
The repeated expression.
2
Text
The repeat counter relative to the current repeat context or the repeat context relative to the current repeat context.
Examples:
Expression
Result
CompanyName # "2"
"Beta Construction"
CompanyName # "[2]"
"Beta Construction"
DirectorName # "[2][1]"
"Ted"
Description 3 of 4 (a list of particular repeated values):
A list of particular values of a repeated expression.
In the following examples, consider there are two companies named Alpha Holdings, Beta Construction. Consider also that the directors of the first company are Jim, Mary, Eva, and Michael, and that the directors of the second company are Ted and Anthony.
Returns:
Any*
Parameters:
Parameter
Data Type
Description
1
Any
The repeated expression.
2
Whole Number*
The list of repeat counters relative to the current repeat context.
Example:
Expression
Result
CompanyName # List( 2, 1 )
List( "Beta Construction", "Alpha Holdings" )
Description 4 of 4 (a list of particular repeated values):
A list of particular values of a repeated expression.
In the following examples, consider there are two companies named Alpha Holdings and Beta Construction. Consider also that the directors of the first company are Jim, Mary, Eva, and Michael, and that the directors of the second company are Ted and Anthony.
Returns:
Any*
Parameters:
Parameter
Data Type
Description
1
Any
The repeated expression.
2
Text*
The list of repeat counters relative to the current repeat context or the list of repeat contexts relative to the current repeat context.
Examples:
Expression
Result
CompanyName # List( "2", "1" )
List( "Beta Construction", "Alpha Holdings" )
CompanyName # List( "[2]", "[1]" )
List( "Beta Construction", "Alpha Holdings" )
DirectorName # List( "[2][1]", "[2][2]", "[3][1]" )
List( "Ted", "Anthony", "Eva" )

See also

Related content