6.5 Predefined Presentation Types

6.5.6 Sequence Presentation Types

The following two presentation types can be used to accept and present a sequence of objects.

sequence [Presentation Type]

Arguments:
type
Summary:
The presentation type that represents a sequence of elements of type type. type can be a presentation type abbreviation. The printed representation of a sequence type is the elements separated by commas. accept returns a list.

The options to this type are separator and echo-space. separator is used to specify a character that will act as the separator between elements of the sequence; the default is the comma character#\,. echo-space is t or nil; when it is t (the default) a space will be automatically inserted into the input buffer when the user types a separator character.

sequence-enumerated [Presentation Type]
Arguments:
&rest types
Summary:
sequence-enumerated is like sequence, except that the type of each element in the sequence is individually specified.The elements of types can be presentation type abbreviations. accept returns a list.

The options to this type are separator and echo-space, which are as for the sequence type.


CLIM 2.0 User's Guide - OCT 1998

Generated with Harlequin WebMaker