Calculation field: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 24: Line 24:
: is used for expressions that contain string manipulations or functions that return a string.
: is used for expressions that contain string manipulations or functions that return a string.


== Variables ==
== Field values ==
Other fields in the same entry and fields in linked libraries may be referenced as read-only variables.
The values of other fields in the same entry and fields in linked libraries may be referenced by enclosing them within a hash mark and open brace <big>'''#{'''</big> and a closed brace <big>'''}'''</big>. For example, consider the following expression:
 
Variables must be enclosed by a hash mark and open brace <big>'''#{'''</big> and a closed brace <big>'''}'''</big>. e.g. expression:


<source lang="java">
<source lang="java">
Line 33: Line 31:
</source>
</source>


String values/variables must be enclosed by single-quote (apostrophe) characters:
String values must be enclosed by single-quote (apostrophe) characters:


<source lang="java">
<source lang="java">

Navigation menu