Prev: 48436 Up: Map Next: 48496
48486: User Input: Word Tokens
The vocabulary number (Table_Vocabulary) of each word of the last command, in the order they were typed, with 255 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 10 slots with 255. 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 48486 DEFB 255 The first word, which should be the verb.
UserInput_Token_2 48487 DEFB 255,255,255,255,255,255,255,255,255 The words after the verb.
Prev: 48436 Up: Map Next: 48496