ANS Environment System

The file Common/Environ.fth provides the ANS Forth word ENVIRONMENT?, and some basic environment data.

Vocabulary Environment                  \ used for enviroment? queries
The vocabulary within which environment data is kept.

: ENVIRONMENT?  \ c-addr u --  false | i*x true
The string is treated as a word name. If it is found in the ENVIRONMENT vocabulary, the word is executed, the results of executing it plus true are returned, otherwise just false is returned.