#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.428 2003/02/24 20:48:38 cph Exp $
+$Id: runtime.pkg,v 14.429 2003/02/24 21:53:39 cph Exp $
Copyright (c) 1988,1989,1990,1991,1992 Massachusetts Institute of Technology
Copyright (c) 1993,1994,1995,1996,1997 Massachusetts Institute of Technology
decorated-string-append
external-string-length
external-string?
- guarantee-char-set
guarantee-string
guarantee-string-index
guarantee-substring
#| -*-Scheme-*-
-$Id: string.scm,v 14.50 2003/02/24 20:47:14 cph Exp $
+$Id: string.scm,v 14.51 2003/02/24 21:55:32 cph Exp $
Copyright 1986,1987,1988,1992,1993,1994 Massachusetts Institute of Technology
Copyright 1995,1997,1999,2000,2001,2002 Massachusetts Institute of Technology
(guarantee-string-index end caller)
(if (not (fix:<= end (string-length string)))
(error:bad-range-argument end caller))
- start)
+ end)
(define-integrable (guarantee-substring-start-index string start end caller)
(guarantee-string-index start caller)