array-size-error. ( obj -- ) - Factor Documentation

array-size-error. ( obj -- )


Vocabulary
debugger

Error description
Thrown by <array> , <string> , <vector> and <sbuf> if the specified capacity is negative or too large.

Definition
USING: io kernel math prettyprint sequences ;

IN: debugger

: array-size-error. ( obj -- )
"Invalid array size: " write dup third . "Maximum: " write
fourth 1 - . ;

AltStyle によって変換されたページ (->オリジナル) /