WorkFromHome
A function to determine whether to stay at home or work at the office.
Average rating: 1.0 (2 votes) Log in to vote
Vaughan Bromfield - Show more from this author |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
// WorkFromHome( previousDayOfRain ; isRainingNow ; shitsGiven )
// previousDayOfRain = an integer greater than zero of the number of previous days that have had rain
// isRainingNow = whether it is currently precipitating
// shitsGiven = a subjective measure of enthusiasm; an integer greater than zero indicates a desire to go to the office
Case(
not isRainingNow ; getAsBoolean( shitsGiven ) ;
GetAsBoolean( shitsGiven - previousDayOfRain )
)
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.