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


R> Search:

In Return Stack Words in TurboForth Kernal

Word Name: R>
Type: Standard word
Data Stack Signature: -- n
Return Stack Signature: n --
Availability: V1.0  V1.1  V1.2
Description:

Moves the top cell from the return stack to the data stack.

Example:

none

Comment:

Care should be taken to ensure the return stack is in the same state upon leaving a colon definition as it was when entering. DO/LOOP and FOR/NEXT use the return stack to hold loop parameters, therefore, if pushing data temporarily to the return stack during a loop, the return stack should be restore before a LOOP, +LOOP or NEXT is executed.

See Also: >R  R@ 

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