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


TO Search:

In Compilation Words in TurboForth Kernal

Word Name: TO
Type: Immediate compiling word
Data Stack Signature: n --
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Used with a VALUE. Replaces the value of the named VALUE with n.

Example:

0 VALUE SCORE
100 TO SCORE
SCORE .

(displays 100)

Comment:

TO does not verify that the VALUE following it actually exists. Unpredictable results may occur if a non existant word is supplied.

See Also: +TO  VALUE 

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