Returns whether a numeric token has been read from the specified stream tokenizer object.
Syntax
TT_WORD( streamtokenizer )
streamtokenizer.TT_WORD( )
Parameters
streamtokenizer
|
the stream tokenizer object to use.
|
Returns
boolean
|
true if the current read token is a word.
false if the current read token is not a word.
|
Example
if st.TT_WORD( ) then
break
end
|