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


REV$ Search:

In Transient String Words in String Library

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

Reverses the topmost string (s1) on the string stack, resulting in s2.

Example:

$" Hello, world!" rev$ .$ \ displays !dlrow ,olleH

Comment:

An error occurs if the string stack is empty.

See Also: None listed

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