Name

str-swap:dstrings — ordinary primitive

Synopsis

FORTH
$SWAP ( $: a$ b$ -- b$ a$ )(); 
 ;

Description

Exchange the two most accessible strings on the string stack. Throw an error if there are less than two strings on the stack. Neither string value is copied. <ansref>"string-swap"</ansref>