The parameter is generally a critical part of a FileMaker function, although there are a handful of FileMaker functions that have no parameter at all. The parameter is the piece of the function that holds information that is later used in the performance of the calculation within the function.
A function is made up of the function name and the parameter enclosed within parentheses such as FunctionName(parameter). A function that has multiple parameters would look something like FunctionName(parameter1; parameter2; parameter3).
A classic example is the Date function, that is shown as ...
Date ( month ; day ; year).
The Date function allows you to take 3 parameters (which can be a field, a calculated value, literal text or a combination thereof) and make a proper date out of them. Your three parameters are for the month, the day and the year. The nice thing about it is that you can add any number to any of the parameters and FileMaker will calculate the correct date. For example adding 2000 days to the day parameter will automatically take into account the odd number of days in a month and even leap years!
More info about the author and FileMaker in general, contact me at email@example.com.
© 2010 - Dwayne Wright - dwaynewright.com