<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>


+$ Search:

In Transient String Words in String Library

Word Name: +$
Type: Standard word
Data Stack Signature: -- / ss: s1 s2 -- s3
Return Stack Signature: --
Availability: V1.2
Description:

Concatenates strings s1 and s2, producing s3.

Example:

$" 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).

Comment:

A run-time error occurs if there are less than 2 strings on the string stack.

See Also: MID$  LEFT$  RIGHT$ 

<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>