APPENDIX A: MASKS Masks, used for creating input restrictions, can consist of two parts: functions and template symbols. Functions, which act on the entire field, are listed at the beginning of the template and are preceded by an @ symbol. Templates, which act on specific characters in the expression being formatted, follow this list of functions. Templates for numeric data also determine the length of the display. Seperate functions and templates with a space; e.g., @! XXX. List of Function Symbols ------------------------ C Displays CR after a positive number X Displays DB after a negative number ( Displays negative numbers in parentheses B Left justifies input Z Displays numeric zeros as blanks D Displays dates in American format E Displays dates in European format A Limits display to alphabetic characters ! Displays all letters as uppercase letters R Characters in template which are not template symbols are added to the data for display only and are not considered part of the input value Sn Limits display size to n characters. If the item is larger than n, it will scroll horizontally List of Template Symbols ------------------------ 9 Allows digits 0-9; also allows + and - signs for numeric data # Allows digits 0-9, blank, + and - signs A Allows alpha characters A-Z and a-z L Allows logical input only Y Limits input to Y, N, y, n for character data and logical data N Limits input to A-Z, a-z, and 0-9 X Allows any character ! Displays lowercase letters as uppercase letters $ Replaces leading zeros or blanks with $ (in numbers) * Replaces leading zeros or blanks with * (in numbers) . Sets decimal position , Displayed only if there is a digit to left of the comma -A1-