Name

str-s-from-copy:dstrings — ordinary primitive

Synopsis

FORTH
$S>-COPY ( $: a$ -- S: a.str )(); 
 ;

Description

Drop a$ from the string stack, copy it into data space as a measured string, and leave it as a Forth string a.str. An error is thrown if the string length is larger than the system parameter MAX_DATA_STR (see S,). <ansref>"string-s-from-copy"</ansref>