RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.NextToken Method

Moves to the next token in the file.

Pascal
function NextToken: Char;
C++
__fastcall Char NextToken();

Call NextToken to move to the next token in the file being parsed. This is normally called in a loop as the file is parsed, terminating when toEOF is encountered. Use Token to retrieve the type of the current token. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!