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


D1- Search:

In Math Words in 32-bit library

Word Name: D1-
Type: Standard word
Data Stack Signature: d:x – d:x-1
Return Stack Signature: --
Availability: V1.2
Description:

Subtracts 1 from the double value on the stack.

Example:

1000000. D1- D.

(displays 999999)

Comment:

The above example places 1,000,000 on the stack, subtracts one from it, and displays the result.

See Also: 1- 

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