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


DEPTH Search:

In Stack Words in TurboForth Kernal

Word Name: DEPTH
Type: Standard word
Data Stack Signature: -- depth
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Places the count of the number of cells on the stack on the stack.

Example:

none

Comment:

For example, if the stack consists of 1 3 5 7 then execution of the word DEPTH results in pushes the value 4 to the stack.

See Also: .S 

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