Filemaker Pro 9 (109) Flashcards
This set entered on 7-29-14
7.27.14.1
- EXPRESSIONS is a fancy name for:
a SUBSECTION of a CALCULATION–one or more fields, functions, or constants, each connected with operators.
- When you multiply a field named Quantity by a field named Price, that is a calculation. What is an EXPRESSION?
That CALCULATION is ALSO an EXPRESSION.
- An EXPRESSION always:
REDUCES to a SINGLE VALUE when you combine its individual values according to the OPERATORS.
- When is it NOT an EXPRESSION?
If you CANNOT BOIL IT DOWN TO A VALUE, IT IS NOT AN EXPRESSION. This is an important point because it means that YOU CAN USE EXPRESSIONS AS FUNCTION PARAMETERS just like individual values–fields and constants.
- Give some examples of EXPRESSIONS.
3 + 3. It reduces to the value 6. Last Name & “, “ & First Name & “ “ & Middle Initial & “ . “ This might reduce to Juanita J. Johnson.
- Give an example of a CALCULATION that’s also an EXPRESSION:
Average (L1 * W1 * H1 ; L2 * W2 * H2 ; L3 * W3 * H3). This is also an EXPRESSION BECAUSE IT REDUCES TO A SINGLE VALUE.
- What is this? L1 * W1 * H1 ; L2 * W2 * H2 ; L3 * W3 * H3
It is NOT an EXPRESSION BECAUSE IT DOES NOT REDUCE TO A SINGLE VALUE. It has three expressions in all, each separated by a double colon.
- What is NESTING EXPRESSIONS?
It means you can put ANY VALID EXPRESSION in place of a parameter IN A FUNCTION.
- What is a simple example of NESTING AN EXPRESSION?
(1+1+1) + 3. This is the same as 3+3. In this case, the SUB EXPRESSION (1+1+1) has replaced the original value 3.
- The idea of NESTING EXPRESSIONS is very handy when:
you work with FUNCTIONS. Instead of using individual fields or constants in a function, you can pass along whole expressions. You can even nest functions within other functions