Up until now, you have seen how formulas calculate and return numeric results. However, formulas can also be used to display text. The following example demonstrates how to create a formula that appends text with Keyword tokens to return information:
| 1. | Insert a plot and a text box on a layout page. Open the Custom Token window and dock it. | 
| 2. |  Click on  | 
| 3. | Edit New Custom Token to read "Appending Text". | 
| 4. | Choose the Data Source of the token by either of the following methods: | 
| • | right-click in the Formula area (lower pane of Custom Tokens window), choose Insert Token from the pop-up menu, double-click Keyword, and choose a plot from the Data Source category | 
| • | drag and drop the desired plot from your layout into the lower pane of the Custom Tokens window, and double-click Keyword token | 
| 5. | Select the Keyword category of the Create Keyword dialog, and click the ellipsis to bring up the Please select a keyword dialog. | 
| 6. | Select $FIL and click OK to exit the Please select a keyword dialog and then OK again to exit the Create Keyword dialog. | 
| 7. | Enter the following after the keyword token: <space> was created on <space> | 
| 8. | Add the $DATE keyword (similar to steps 4–6). The Formula field should resemble Figure 19.28. | 
Figure 19.28 Custom Token Example 3 Formula
| 9. | Insert the Custom Token you have just created into the Text Box by either of the following methods: | 
| • | right-click on the Text Box, choose Insert Token from the pop-up menu, select Appending Text from Custom (clicking on the triangle next to Custom to expand the list, necessary), and click the Insert button, or | 
| • | drag and drop Appending Text from the Custom Token List (upper pane of the Custom Tokens window) to an empty spot on your layout or to an existing Text Box. | 
The Text Box should now resemble Figure 19.29.
Figure 19.29 Custom Token Example 3