2005-12-30 03:57:38 -05:00
IN: strings
2006-06-04 17:13:34 -04:00
USING: arrays help kernel vectors ;
2005-12-30 03:57:38 -05:00
2006-08-15 21:23:05 -04:00
HELP: sbuf
2006-06-05 22:50:16 -04:00
{ $description "The class of resizable character strings. See " { $link "syntax-sbufs" } " for syntax and " { $link "sbufs" } " for general information." } ;
2006-10-31 00:52:02 -05:00
HELP: <sbuf>
2006-01-02 00:51:03 -05:00
{ $values { "n" "a positive integer specifying initial capacity" } { "sbuf" "a new string buffer" } }
{ $description "Creates a new string buffer that can hold " { $snippet "n" } " characters before resizing." }
2006-06-04 17:13:34 -04:00
{ $see-also <array> <quotation> <string> <vector> } ;
2005-12-30 03:57:38 -05:00
2006-08-15 21:23:05 -04:00
HELP: >sbuf
2005-12-30 03:57:38 -05:00
{ $values { "seq" "a sequence of non-negative integers" } { "sbuf" "a string buffer" } }
2006-01-02 00:51:03 -05:00
{ $description "Outputs a freshly-allocated string buffer with the same elements as a given sequence." }
{ $errors "Throws an error if the sequence contains elements other than real numbers." } ;