<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In Transient String Words in String Library
Concatenates strings s1 and s2, producing s3.
$" red" $" blue" +$ .$
The above code pushes red, then blue to the string stack (blue on top), and concatenates them, then displays the resulting concatenated string (redblue).
A run-time error occurs if there are less than 2 strings on the string stack.