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


HEADER Search:

In Compilation Words in TurboForth Kernal

Word Name: HEADER
Type: Standard word
Data Stack Signature: address length --
Return Stack Signature: --
Availability: V1.2
Description:

Creates a dictionary entry with the name of the string nominated at address and length.

Example:

S" TEST" HEADER

Comment:

The new dictionary entry is automatically linked to the previous dictionary entry, and LATEST is updated to point to the link field of the new dictionary entry.

Note that no executable code is appended to the definition at this point. HEADER only creates a dictionary entry.

HEADER is used by words such as : CODE: VARIABLE VALUE CREATE and CONSTANT to create dictionary headers on their behalf.

Important note: In TurboForth V1.2.1 HEADER has a different stack signature and behaviour. Please see the seperate entry for V1.2.1 version.

See Also: HEADER (V1.2.1) 

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