Filemaker Pro 9 (114) Flashcards

1
Q

This set entered on 8-3-14
8.2.14.3

  1. Everything you can put in a calc has a value, unless:
A

it is a COMMENT.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q
  1. What are COMMENTS?
A

They are chunks of text whose sole purpose is to help guide you through long calculations. They are for the benefit of people who work on the database months or years later.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  1. Why use COMMENTS?
A

Once you have a few sets of parenthesis or nested function calls, you may have trouble understanding even your own FileMaker calc when you have to go back and make changes.. So use LOTS of COMMENTS to explain what you intended to do with the calc.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q
  1. How do you tell FileMaker to ignore COMMENTS?
A

It does it automatically, as if they were not there. FileMaker also ignores some extra spaces and paragraph returns that were inserted only for ease of reading.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q
  1. How many different types of STYLES can you use for your COMMENTS?
A

Two. First, any text that comes after TWO CONSECUTIVE SLASH MARKS (//) is CONSIDERED A COMMENT. This kind of comment goes all the way to the end of the line.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
  1. Example of a COMMENT that goes all the way to the end of the line?
A

//this is a comment

3.14 * Diameter//and so is this.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q
  1. A COMMENT is also any text that comes between the symbols:
A

/* and */. This is useful if you need to type a comment that spans multiple lines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q
  1. The comments that use /* */ are also useful for:
A

For adding COMMENTS WITHIN A LINE.

Example: 3 /sprocket size/ * 10 /* sprocket count/ * 57 /tooth count*/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
  1. In addition to COMMENTS, you should:
A

ADD WHITE SPACE to make your calcs easier to read. Calcs don’t have to be strung together in one long line. Press the RETURN or SPACE key to add space anywhere (EXCEPT IN A FIELD NAME, FUNCTION NAME, TEXT CONSTANT, OR NUMBER)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly