Bits and Pieces

Mikhail Edoshin's FileMaker® weblog

Use the Gradient() function to apply a smooth gradient to a string

The Gradient( text, colors ) custom function paints the specified text with colors, applying a smooth gradient if more than one color is specified.

Sample.png

It may be not be terrible useful but looks nice and is fun to study as an example of a recursive function.

Technorati tags: FileMaker, FileMaker 7, FileMaker 8, custom function, gradient.

Continue reading "Use the Gradient() function to apply a smooth gradient to a string" »

October 12, 2005 in Custom Functions, Formatting | Permalink | Comments (2) | TrackBack (0)

Assert Equals(): a custom function to test other custom functions

This function is designed to test other custom functions using the extreme programming approach and, most probably, a custom function test unit (if you haven't read the referenced post, you'd better start with it). The function works fairly well both as a specification and as a test engine.

Technorati tags: FileMaker, FileMaker 7, FileMaker 8, custom function, test unit.

Continue reading "Assert Equals(): a custom function to test other custom functions " »

October 02, 2005 in Coding, Custom Functions | Permalink | Comments (0) | TrackBack (0)

“Constant” custom functions to save time and write clearer code

Using some values in FileMaker formulas and scripts isn't very convenient because they are difficult to type or not clearly visible. The samples of these are spaces and tab characters, special symbols like "¶" and an empty value. A possible solution is to use “constant” custom functions instead. Here's a description of four: NULL, TAB, CR and SPACE.

Technorati tags: FileMaker, FileMaker 7, FileMaker 8, custom function.

Continue reading "“Constant” custom functions to save time and write clearer code" »

October 02, 2005 in Coding, Custom Functions | Permalink | Comments (1) | TrackBack (0)

Develop custom functions more effectively using a simple test unit

An effective approach to writing code is to use automated tests. It's very simple to use the method when developing FileMaker custom functions. All it takes is a little table (you can use the provided sample) and about five minutes to add it to the project you develop.

Technorati tags: FileMaker, FileMaker 7, FileMaker 8, custom function, test unit.

Continue reading "Develop custom functions more effectively using a simple test unit" »

September 30, 2005 in Coding, Custom Functions | Permalink | Comments (2) | TrackBack (0)

« Previous
My Photo
Subscribe to this blog's feed

Categories

  • Calculating
  • Coding
  • Custom Functions
  • Formatting
  • Interface
  • IWP
  • News
  • Printing
  • XML/XSLT

Archives

  • March 2009
  • July 2008
  • December 2006
  • June 2006
  • May 2006
  • February 2006
  • January 2006
  • December 2005
  • November 2005
  • October 2005

About

Recent Posts

  • My new site
  • Hierarchies in FileMaker
  • Miscellaneous tips
  • How to bypass the IWP login page
  • Cross-tab reports made easy
  • Soundex sample
  • Linked fields
  • Modular XSLT, part 2: Simple export
  • Options
  • Fraction(): approximate a number as a common fraction
Blog powered by TypePad
Member since 09/2005

Technical

  • Technorati