Changeset 907
- Timestamp:
- Feb 16, 2005, 10:52:23 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lib/format.lisp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lib/format.lisp
r906 r907 868 868 (t (setq *format-index* start) 869 869 (with-format-parameters parms ((mincol 0) (colinc 1) (minpad 0) (padchar #\space)) 870 (unless ( and (integerp mincol) (not (minusp mincol)))871 (format-error "Mincol must be a non-negativeinteger - ~S" mincol))870 (unless (integerp mincol) 871 (format-error "Mincol must be an integer - ~S" mincol)) 872 872 (unless (and (integerp colinc) (plusp colinc)) 873 873 (format-error "Colinc must be a positive integer - ~S" colinc)) 874 (unless ( and (integerp minpad) (not (minusp minpad)))875 (format-error "Minpad must be a non-negativeinteger - ~S" minpad))874 (unless (integerp minpad) 875 (format-error "Minpad must be an integer - ~S" minpad)) 876 876 (unless (characterp padchar) 877 877 (if (typep padchar `(integer 0 #.char-code-limit)) … … 1737 1737 (defun format-write-field (stream string mincol colinc minpad padchar padleft) 1738 1738 (unless (or (null mincol) 1739 (and (integerp mincol) 1740 (not (minusp mincol)))) 1741 (format-error "Mincol must be a non-negative integer - ~S" mincol)) 1739 (integerp mincol)) 1740 (format-error "Mincol must be an integer - ~S" mincol)) 1742 1741 (unless (and (integerp colinc) (plusp colinc)) 1743 1742 (format-error "Colinc must be a positive integer - ~S" colinc)) 1744 (unless ( and (integerp minpad) (not (minusp minpad)))1745 (format-error "Minpad must be a non-negativeinteger - ~S" minpad))1743 (unless (integerp minpad) 1744 (format-error "Minpad must be an integer - ~S" minpad)) 1746 1745 (unless (characterp padchar) 1747 1746 (if (typep padchar `(integer 0 #.char-code-limit))
Note:
See TracChangeset
for help on using the changeset viewer.
