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


['] Search:

In Compilation Words in TurboForth Kernal

Word Name: [']
Type: Immediate word
Data Stack Signature: -- xt
Return Stack Signature: --
Availability: V1.0  V1.1  V1.2
Description:

Compiles the word following ['] as a literal.

Example:

: TEST ['] DUP ;

The above example will leave the execution token of DUP on the stack when TEST is executed.

Comment:

During compilation of a colon definition, compiles the word following ['] as a literal. When the colon definition is executed, the word's execution token (XT/CFA) shall be pushed to the stack, and not executed.

See Also: ' (tick) 

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