<< Home | About Forth | About TurboForth | Download | Language Reference | Resources | Tutorials | YouTube >>
In Block I/O Words in TurboForth Kernal
Returns the block number of a user-loaded word in the dictionary. Non-existant words return 0.
WHERE CPYBLK LIST
Useful in conjunction with EDIT and LIST. Note that a word must be loaded (in the dictionary) from a block before its block location can be located with WHERE.
EDIT
LIST
WHERE
Note: In versions 1.0 and 1.1 WHERE was an immediate word. In version 1.2 it is not an immediate word.
Note: System-provided words (words in the TurboForth ROM) return a value of 1. It is not useful to use WHERE in conjunction with a system-provided word.