VariablePackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version

*template-chars*

The value of this variable is an association list describing how various characters in a template-string are to be interpreted. Each entry in the list consists of:

  1. a template-character,
  2. a predicate function that determines which characters may be typed by the user at positions where that template character is specified (this predicate should take one argument, which should be a character, and return non-nil if the character passed to it is allowed), and
  3. a character to initially display in the component at the positions of that template character (these are all #\space by default).

The initial value of this list is:

(
    
 ;; A space character allows the user to type any graphical
 ;; character, and initially prints a space.
 (#\space graphic-char-p #\space)
 
 ;; A "c" allows any letter or numeral to be typed, while
 ;; an "a" allows only letters.
 (#\c alphanumericp #\space)
 (#\a alpha-char-p #\space)
 
 ;; A zero requires a numeral to be typed and also displays
 ;; a zero initially.
 (#\0 digit-char-p #\0)
 
 ;; A 9 allows only a numeral, even though it initially
 ;; displays a space (which makes it clear that nothing
 ;; has been entered there yet).
 (#\9 digit-char-p #\space)
 
 ;; These two both allow either a numeral or a space,
 ;; but differ in the initially-printed character.
 (#\8 digit-char-or-space-p #\0) 
 (#\7 digit-char-or-space-p #\space) 
 
 )

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.0
Unrevised from 9.0 to 10.0.
9.0 version