Prev: BD34 Up: Map Next: BD70
BD66: User Input: Word Tokens
The vocabulary number (Table_Vocabulary) of each word of the last command, in the order they were typed, with FF in every slot that isn't used. "THE" is skipped, and a word that isn't in the vocabulary stops the command with an error, so the words always fill the slots from the start.
Populated by UserInput_Enter, which first fills all 0A slots with FF. Handler_MatchVerb looks the verb up in Table_VerbWordTokens, MatchPhraseTokens matches the words after it against a phrase from PhraseTokens_Bottle, and Parser_CountItems and Parser_ProcessItem look through every slot for the name of an object. See also Parser_ValidateNoDirectObject, Parser_ValidateDirectObject, Parser_ValidateInputTokens, Parser_ValidateAnyDirectObject and Action_DropThrow for usage.
UserInput_Token_1 BD66 DEFB $FF The first word, which should be the verb.
UserInput_Token_2 BD67 DEFB $FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF,$FF The words after the verb.
Prev: BD34 Up: Map Next: BD70