RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TParser.TokenComponentIdent Method

Checks if the current token in the file is a valid component symbol.

Pascal
function TokenComponentIdent: string;
C++
__fastcall AnsiString TokenComponentIdent();

Call TokenComponentIdent to check if the current token in the file is a symbol that legitimately represents a component. Namely, that it must start with a letter or number, and only contain alphanumeric and underscore characters. If it is valid, the string value of the token is returned. If not, an EParserError exception is raised. 

 

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